Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009549/0.0009549, allocations: 93.73 kB / 16.33 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 187.3 kB / 17.23 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.3 MB / 241.2 MB, free: 304 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.777/0.777, allocations: 114.3 MB / 406.7 MB, free: 8.246 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003858, allocations: 12 kB / 494.5 MB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.4934, allocations: 77.25 MB / 0.5583 GB, free: 36.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005339/0.4989, allocations: 4.051 MB / 0.5623 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.4999, allocations: 0.7507 MB / 0.563 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.5, allocations: 4.219 kB / 0.563 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.5002, allocations: 26.41 kB / 0.563 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.842e-05/0.5002, allocations: 27.45 kB / 0.5631 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.5007, allocations: 131.8 kB / 0.5632 GB, free: 33.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.5009, allocations: 153.2 kB / 0.5633 GB, free: 33.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.5011, allocations: 17.27 kB / 0.5633 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.5013, allocations: 80.67 kB / 0.5634 GB, free: 33.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.5014, allocations: 71.3 kB / 0.5635 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.5015, allocations: 8.75 kB / 0.5635 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.5018, allocations: 115.7 kB / 0.5636 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.5019, allocations: 27.06 kB / 0.5636 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.761e-05/0.502, allocations: 47.98 kB / 0.5637 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.5023, allocations: 154.6 kB / 0.5638 GB, free: 32.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5023, allocations: 5.406 kB / 0.5638 GB, free: 32.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5023, allocations: 0 / 0.5638 GB, free: 32.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.5023, allocations: 0 / 0.5638 GB, free: 32.93 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000816/0.5031, allocations: 463.9 kB / 0.5643 GB, free: 32.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.5032, allocations: 9.344 kB / 0.5643 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.5032, allocations: 14.69 kB / 0.5643 GB, free: 32.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.5034, allocations: 185.1 kB / 0.5645 GB, free: 32.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.5034, allocations: 9.719 kB / 0.5645 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.5034, allocations: 11.66 kB / 0.5645 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.5038, allocations: 136.8 kB / 0.5646 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5038, allocations: 5.406 kB / 0.5646 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.5038, allocations: 1.031 kB / 0.5646 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.5038, allocations: 2.438 kB / 0.5646 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004471/0.5043, allocations: 164.1 kB / 0.5648 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.5053, allocations: 470.4 kB / 0.5652 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.5056, allocations: 140.3 kB / 0.5654 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.5059, allocations: 78.81 kB / 0.5654 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.5071, allocations: 0.958 MB / 0.5664 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5072, allocations: 36.83 kB / 0.5664 GB, free: 30.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.5072, allocations: 1.844 kB / 0.5664 GB, free: 30.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007253/0.5079, allocations: 246.5 kB / 0.5667 GB, free: 30.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.508, allocations: 54.41 kB / 0.5667 GB, free: 30.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.5081, allocations: 160.3 kB / 0.5669 GB, free: 30.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.5082, allocations: 28.42 kB / 0.5669 GB, free: 30.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.334e-05/0.5083, allocations: 117.2 kB / 0.567 GB, free: 30.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.5083, allocations: 38.64 kB / 0.567 GB, free: 30.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.5083, allocations: 5.219 kB / 0.567 GB, free: 30.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.5084, allocations: 323.6 kB / 0.5673 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.5086, allocations: 84.89 kB / 0.5674 GB, free: 30.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.5089, allocations: 122.1 kB / 0.5675 GB, free: 30 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.5091, allocations: 94.91 kB / 0.5676 GB, free: 29.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5091, allocations: 3.938 kB / 0.5676 GB, free: 29.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000567/0.5097, allocations: 264 kB / 0.5679 GB, free: 29.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.5097, allocations: 9.484 kB / 0.5679 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5098, allocations: 2.062 kB / 0.5679 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.5098, allocations: 3.578 kB / 0.5679 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.5101, allocations: 59.62 kB / 0.568 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.5101, allocations: 6.938 kB / 0.568 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.5102, allocations: 42.72 kB / 0.568 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.5103, allocations: 7.625 kB / 0.568 GB, free: 29.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.514e-05/0.5104, allocations: 120.1 kB / 0.5681 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.5104, allocations: 9.812 kB / 0.5681 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005156/0.5109, allocations: 218.2 kB / 0.5683 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5109, allocations: 2.125 kB / 0.5683 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.511, allocations: 0.9375 kB / 0.5683 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.511, allocations: 2.156 kB / 0.5684 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.5112, allocations: 214.5 kB / 0.5686 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5112, allocations: 0.6094 kB / 0.5686 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.5114, allocations: 34.67 kB / 0.5686 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.5114, allocations: 1.891 kB / 0.5686 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.5114, allocations: 1.906 kB / 0.5686 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.5114, allocations: 5.172 kB / 0.5686 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5114, allocations: 1.422 kB / 0.5686 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.5119, allocations: 285.8 kB / 0.5689 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.5119, allocations: 99.69 kB / 0.569 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.512, allocations: 1.469 kB / 0.569 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.5121, allocations: 22.8 kB / 0.569 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.5122, allocations: 13 kB / 0.569 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.5122, allocations: 2.438 kB / 0.569 GB, free: 29.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.324e-05/0.5123, allocations: 117 kB / 0.5691 GB, free: 29.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5123, allocations: 1.375 kB / 0.5691 GB, free: 29.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.5127, allocations: 59.11 kB / 0.5692 GB, free: 29.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002908/0.513, allocations: 153.5 kB / 0.5693 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005083/0.5135, allocations: 199.2 kB / 0.5695 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5135, allocations: 1.125 kB / 0.5695 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.5137, allocations: 75.31 kB / 0.5696 GB, free: 28.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.5141, allocations: 28.38 kB / 0.5696 GB, free: 28.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.5147, allocations: 390.8 kB / 0.57 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.5149, allocations: 0.703 MB / 0.5707 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.5149, allocations: 18.25 kB / 0.5707 GB, free: 27.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5149, allocations: 0 / 0.5707 GB, free: 27.88 MB / 446.1 MB Notification: Performance of Templates: time 0.007113/0.5221, allocations: 2.534 MB / 0.5732 GB, free: 27.61 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinderCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinderCalcHelperMain.o] Error 1