Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008142/0.0008145, allocations: 103 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008906/0.0008908, allocations: 177.5 kB / 16.58 MB, free: 6.402 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.446/1.446, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8024/0.8024, allocations: 132.3 MB / 424 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003272, allocations: 9.031 kB / 0.504 GB, free: 4.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.526/0.5263, allocations: 81.58 MB / 0.5837 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01666/0.543, allocations: 13.2 MB / 0.5966 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006613/0.5497, allocations: 3.398 MB / 0.5999 GB, free: 8.172 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008074/0.5506, allocations: 18.06 kB / 0.5999 GB, free: 8.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006796/0.5512, allocations: 149.3 kB / 0.6 GB, free: 8.086 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.553, allocations: 488.9 kB / 0.6005 GB, free: 7.812 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.554, allocations: 286 kB / 0.6008 GB, free: 7.676 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.5559, allocations: 1.257 MB / 0.602 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004214/0.5563, allocations: 243.2 kB / 0.6022 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005431/0.5569, allocations: 316.2 kB / 0.6025 GB, free: 6.781 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.5574, allocations: 279.8 kB / 0.6028 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.5574, allocations: 13.34 kB / 0.6028 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005352/0.558, allocations: 147.1 kB / 0.603 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.5581, allocations: 68.42 kB / 0.603 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.5582, allocations: 105.8 kB / 0.6031 GB, free: 6.434 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005329/0.5587, allocations: 429.1 kB / 0.6035 GB, free: 6.152 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5588, allocations: 0 / 0.6035 GB, free: 6.152 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5588, allocations: 1.438 kB / 0.6035 GB, free: 6.152 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.5588, allocations: 0 / 0.6035 GB, free: 6.152 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001146/0.5599, allocations: 0.6826 MB / 0.6042 GB, free: 5.535 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.56, allocations: 16.09 kB / 0.6042 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.5602, allocations: 48.91 kB / 0.6043 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007802/0.561, allocations: 460.3 kB / 0.6047 GB, free: 5.109 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.561, allocations: 23.61 kB / 0.6047 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.5611, allocations: 29.78 kB / 0.6048 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.5617, allocations: 315.7 kB / 0.6051 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.5617, allocations: 1.094 kB / 0.6051 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.5618, allocations: 11.31 kB / 0.6051 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.5618, allocations: 6.531 kB / 0.6051 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000571/0.5624, allocations: 207.2 kB / 0.6053 GB, free: 4.773 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.5648, allocations: 1.487 MB / 0.6067 GB, free: 3.395 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.5653, allocations: 175.6 kB / 0.6069 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.5655, allocations: 67.27 kB / 0.607 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002219/0.5658, allocations: 86.78 kB / 0.607 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/0.5661, allocations: 132.8 kB / 0.6072 GB, free: 3.074 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.464e-06/0.5661, allocations: 3.938 kB / 0.6072 GB, free: 3.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006795/0.5668, allocations: 255.8 kB / 0.6074 GB, free: 2.938 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.5669, allocations: 58.19 kB / 0.6075 GB, free: 2.871 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004198/0.5673, allocations: 332.5 kB / 0.6078 GB, free: 2.656 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.5673, allocations: 32.33 kB / 0.6078 GB, free: 2.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.5676, allocations: 215.9 kB / 0.608 GB, free: 2.426 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.5677, allocations: 50.48 kB / 0.6081 GB, free: 2.383 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.5677, allocations: 5.062 kB / 0.6081 GB, free: 2.379 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.5679, allocations: 351.2 kB / 0.6084 GB, free: 2.035 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.5681, allocations: 72.59 kB / 0.6085 GB, free: 2.004 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.5683, allocations: 153.3 kB / 0.6086 GB, free: 1.871 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.5686, allocations: 120.1 kB / 0.6087 GB, free: 1.797 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5686, allocations: 1.094 kB / 0.6087 GB, free: 1.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006105/0.5692, allocations: 322.3 kB / 0.609 GB, free: 1.613 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.5693, allocations: 32.36 kB / 0.6091 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.5693, allocations: 6.547 kB / 0.6091 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.5693, allocations: 3.625 kB / 0.6091 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.5696, allocations: 57.66 kB / 0.6091 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.5696, allocations: 7.438 kB / 0.6092 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.5699, allocations: 45.05 kB / 0.6092 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.5699, allocations: 12.88 kB / 0.6092 GB, free: 1.531 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001948/0.5701, allocations: 162.6 kB / 0.6094 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.5702, allocations: 31.94 kB / 0.6094 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/0.5706, allocations: 208.2 kB / 0.6096 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.5706, allocations: 1.344 kB / 0.6096 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5707, allocations: 1 kB / 0.6096 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004995/0.5712, allocations: 0.4893 MB / 0.6101 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.5716, allocations: 350 kB / 0.6104 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5716, allocations: 1.281 kB / 0.6104 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.5718, allocations: 33.59 kB / 0.6104 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5718, allocations: 5.25 kB / 0.6104 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.5718, allocations: 5.219 kB / 0.6104 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5718, allocations: 5.219 kB / 0.6105 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5718, allocations: 3.938 kB / 0.6105 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/0.5725, allocations: 312.3 kB / 0.6108 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.5726, allocations: 122.5 kB / 0.6109 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/0.5727, allocations: 9.078 kB / 0.6109 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.5729, allocations: 24.81 kB / 0.6109 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/0.573, allocations: 18.5 kB / 0.6109 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.573, allocations: 5.344 kB / 0.6109 GB, free: 68 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000277/0.5733, allocations: 239 kB / 0.6112 GB, free: 15.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5733, allocations: 0 / 0.6112 GB, free: 15.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004742/0.5738, allocations: 115.6 kB / 0.6113 GB, free: 15.89 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003207/0.5742, allocations: 176.6 kB / 0.6114 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005106/0.5747, allocations: 232.8 kB / 0.6117 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5747, allocations: 0.625 kB / 0.6117 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.5749, allocations: 85.08 kB / 0.6117 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009359/0.5758, allocations: 200.8 kB / 0.6119 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.5776, allocations: 0.9865 MB / 0.6129 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.5781, allocations: 0.7905 MB / 0.6137 GB, free: 13.99 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.5782, allocations: 38.92 kB / 0.6137 GB, free: 13.98 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5782, allocations: 3.938 kB / 0.6137 GB, free: 13.97 MB / 462.1 MB Notification: Performance of Templates: time 0.01155/0.5898, allocations: 5.867 MB / 0.6194 GB, free: 10.97 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.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 OMCppIDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVesselCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVesselCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVesselCalcHelperMain.o] Error 1