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.000742/0.000742, allocations: 99.27 kB / 16.02 MB, free: 76 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.0009359/0.000936, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.313/1.313, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6953/0.6953, allocations: 132.3 MB / 424.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003664, allocations: 13.02 kB / 0.5046 GB, free: 3.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4317, allocations: 81.57 MB / 0.5843 GB, free: 4.328 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.0138/0.4455, allocations: 13.89 MB / 0.5978 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005964/0.4515, allocations: 3.623 MB / 0.6014 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007159/0.4523, allocations: 13.94 kB / 0.6014 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.4529, allocations: 173.7 kB / 0.6016 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.4547, allocations: 0.5417 MB / 0.6021 GB, free: 7.277 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.4558, allocations: 347.2 kB / 0.6024 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001843/0.4576, allocations: 1.469 MB / 0.6039 GB, free: 6.375 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.458, allocations: 262.6 kB / 0.6041 GB, free: 6.211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004761/0.4585, allocations: 309.3 kB / 0.6044 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/0.4589, allocations: 299 kB / 0.6047 GB, free: 5.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.03e-05/0.4589, allocations: 13.84 kB / 0.6047 GB, free: 5.883 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006063/0.4596, allocations: 240.8 kB / 0.6049 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.323e-05/0.4597, allocations: 79.06 kB / 0.605 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.4599, allocations: 218.7 kB / 0.6052 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.4604, allocations: 446.2 kB / 0.6056 GB, free: 5.258 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.4604, allocations: 5.344 kB / 0.6056 GB, free: 5.254 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.4604, allocations: 0 / 0.6056 GB, free: 5.254 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.4604, allocations: 0 / 0.6056 GB, free: 5.254 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.000968/0.4614, allocations: 0.6788 MB / 0.6063 GB, free: 4.641 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.4614, allocations: 8.812 kB / 0.6063 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.4616, allocations: 50.28 kB / 0.6064 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007112/0.4623, allocations: 476.5 kB / 0.6068 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.4623, allocations: 27.36 kB / 0.6068 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.4624, allocations: 25.81 kB / 0.6069 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.463, allocations: 317.8 kB / 0.6072 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.463, allocations: 5.188 kB / 0.6072 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.4631, allocations: 14.61 kB / 0.6072 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.4631, allocations: 7.625 kB / 0.6072 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/0.4636, allocations: 208.6 kB / 0.6074 GB, free: 3.859 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.001704/0.4653, allocations: 1.483 MB / 0.6088 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.4657, allocations: 164.3 kB / 0.609 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.4659, allocations: 71.34 kB / 0.6091 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.4661, allocations: 92.31 kB / 0.6092 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003021/0.4664, allocations: 137.2 kB / 0.6093 GB, free: 2.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.804e-06/0.4664, allocations: 1.594 kB / 0.6093 GB, free: 2.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006754/0.4671, allocations: 250.2 kB / 0.6095 GB, free: 2.035 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.4671, allocations: 58.27 kB / 0.6096 GB, free: 1.969 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.4675, allocations: 335.1 kB / 0.6099 GB, free: 1.754 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.4676, allocations: 32.36 kB / 0.6099 GB, free: 1.719 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.4677, allocations: 220.1 kB / 0.6101 GB, free: 1.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.4678, allocations: 50.8 kB / 0.6102 GB, free: 1.477 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.4678, allocations: 29.08 kB / 0.6102 GB, free: 1.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.468, allocations: 342.9 kB / 0.6105 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.4682, allocations: 78.2 kB / 0.6106 GB, free: 1.078 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.4684, allocations: 153.7 kB / 0.6108 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.4689, allocations: 262.8 kB / 0.611 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4689, allocations: 1.375 kB / 0.611 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006108/0.4695, allocations: 322.1 kB / 0.6113 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.4696, allocations: 35.98 kB / 0.6114 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.4696, allocations: 3.625 kB / 0.6114 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4696, allocations: 3.094 kB / 0.6114 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.4698, allocations: 68.89 kB / 0.6114 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.4698, allocations: 7.734 kB / 0.6114 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.4701, allocations: 45.17 kB / 0.6115 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.4702, allocations: 12.69 kB / 0.6115 GB, free: 472 kB / 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.4703, allocations: 158.1 kB / 0.6116 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.4704, allocations: 40.17 kB / 0.6117 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.4709, allocations: 214 kB / 0.6119 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4709, allocations: 1 kB / 0.6119 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4709, allocations: 0.9688 kB / 0.6119 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005093/0.4714, allocations: 497.8 kB / 0.6124 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.4719, allocations: 347.5 kB / 0.6127 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4719, allocations: 0 / 0.6127 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.472, allocations: 36.97 kB / 0.6127 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.472, allocations: 5.625 kB / 0.6127 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.4721, allocations: 5.219 kB / 0.6127 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4721, allocations: 1.094 kB / 0.6127 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4721, allocations: 0 / 0.6127 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006781/0.4728, allocations: 302.8 kB / 0.613 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.4729, allocations: 129.8 kB / 0.6132 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.473, allocations: 1.406 kB / 0.6132 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.4732, allocations: 32.97 kB / 0.6132 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.4733, allocations: 15.23 kB / 0.6132 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.4733, allocations: 8.891 kB / 0.6132 GB, free: 15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002974/0.4736, allocations: 238.4 kB / 0.6134 GB, free: 14.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4737, allocations: 0 / 0.6134 GB, free: 14.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005375/0.4742, allocations: 112.6 kB / 0.6135 GB, free: 14.83 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003645/0.4746, allocations: 188.3 kB / 0.6137 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005739/0.4752, allocations: 252.4 kB / 0.614 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.4752, allocations: 0 / 0.614 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.4754, allocations: 82.45 kB / 0.614 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.4765, allocations: 192.8 kB / 0.6142 GB, free: 14.42 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.478, allocations: 0.9575 MB / 0.6152 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.4784, allocations: 0.7913 MB / 0.6159 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/0.4785, allocations: 35.45 kB / 0.616 GB, free: 12.91 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4785, allocations: 0 / 0.616 GB, free: 12.91 MB / 462.1 MB Notification: Performance of Templates: time 0.01006/0.4886, allocations: 5.915 MB / 0.6217 GB, free: 9.621 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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