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.0009606/0.0009606, allocations: 96.14 kB / 15.87 MB, free: 16 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.0009796/0.0009797, allocations: 194.2 kB / 16.79 MB, free: 6.812 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.277/1.277, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.716/0.716, allocations: 132.2 MB / 422.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 55.52 kB / 0.5017 GB, free: 4.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.498/0.4993, allocations: 80.2 MB / 0.58 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01736/0.5167, allocations: 14.4 MB / 0.5941 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00685/0.5236, allocations: 3.67 MB / 0.5977 GB, free: 7.656 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008726/0.5245, allocations: 15 kB / 0.5977 GB, free: 7.652 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007368/0.5253, allocations: 168.7 kB / 0.5978 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.5271, allocations: 0.5433 MB / 0.5984 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.5282, allocations: 356.2 kB / 0.5987 GB, free: 7.043 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002088/0.5303, allocations: 1.468 MB / 0.6001 GB, free: 6.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004391/0.5308, allocations: 267 kB / 0.6004 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005276/0.5313, allocations: 328.3 kB / 0.6007 GB, free: 6.141 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.5318, allocations: 307.7 kB / 0.601 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.253e-05/0.5318, allocations: 18.66 kB / 0.601 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007351/0.5326, allocations: 246.6 kB / 0.6013 GB, free: 5.828 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.5327, allocations: 81.08 kB / 0.6013 GB, free: 5.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002525/0.5329, allocations: 193.4 kB / 0.6015 GB, free: 5.652 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000604/0.5336, allocations: 459.7 kB / 0.602 GB, free: 5.352 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.5336, allocations: 0 / 0.602 GB, free: 5.352 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5336, allocations: 5.156 kB / 0.602 GB, free: 5.348 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.5336, allocations: 0 / 0.602 GB, free: 5.348 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.001267/0.5349, allocations: 0.7522 MB / 0.6027 GB, free: 4.684 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.5349, allocations: 9.156 kB / 0.6027 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.5351, allocations: 45.53 kB / 0.6028 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007739/0.5359, allocations: 488.5 kB / 0.6032 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.5359, allocations: 19.12 kB / 0.6032 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.536, allocations: 30.25 kB / 0.6033 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/0.5366, allocations: 309.2 kB / 0.6036 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.5366, allocations: 0 / 0.6036 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.5366, allocations: 11.75 kB / 0.6036 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.5367, allocations: 6.438 kB / 0.6036 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.5371, allocations: 195.2 kB / 0.6038 GB, free: 3.914 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.001791/0.5389, allocations: 1.484 MB / 0.6052 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.5394, allocations: 158.4 kB / 0.6054 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.5396, allocations: 70.34 kB / 0.6054 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.5398, allocations: 86.75 kB / 0.6055 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003037/0.5401, allocations: 132.7 kB / 0.6056 GB, free: 2.207 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.804e-06/0.5402, allocations: 0 / 0.6056 GB, free: 2.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.000681/0.5408, allocations: 234 kB / 0.6059 GB, free: 2.082 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.5409, allocations: 52.84 kB / 0.6059 GB, free: 2.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004225/0.5413, allocations: 339.5 kB / 0.6062 GB, free: 1.801 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.5414, allocations: 28.08 kB / 0.6063 GB, free: 1.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.5415, allocations: 224.2 kB / 0.6065 GB, free: 1.566 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.5416, allocations: 51 kB / 0.6065 GB, free: 1.523 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.122e-05/0.5417, allocations: 52.86 kB / 0.6066 GB, free: 1.484 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5419, allocations: 346.5 kB / 0.6069 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.5421, allocations: 69.16 kB / 0.607 GB, free: 1.113 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.5424, allocations: 152.8 kB / 0.6071 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.5428, allocations: 237.3 kB / 0.6073 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5428, allocations: 4 kB / 0.6073 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006271/0.5435, allocations: 320.5 kB / 0.6077 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.5435, allocations: 33.45 kB / 0.6077 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.5435, allocations: 1.312 kB / 0.6077 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.5436, allocations: 4.125 kB / 0.6077 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.5438, allocations: 62.53 kB / 0.6078 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.5438, allocations: 3.844 kB / 0.6078 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.5441, allocations: 38.05 kB / 0.6078 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.5442, allocations: 13.39 kB / 0.6078 GB, free: 0.5117 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 (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.0001749/0.5443, allocations: 154.3 kB / 0.608 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.098e-05/0.5444, allocations: 40.5 kB / 0.608 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.5449, allocations: 203.1 kB / 0.6082 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5449, allocations: 1.031 kB / 0.6082 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5449, allocations: 1.156 kB / 0.6082 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005447/0.5455, allocations: 487.7 kB / 0.6087 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.5459, allocations: 349.1 kB / 0.609 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.546, allocations: 8.969 kB / 0.609 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.5461, allocations: 35.05 kB / 0.609 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.5461, allocations: 5.109 kB / 0.609 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.5462, allocations: 5.234 kB / 0.609 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5462, allocations: 1.062 kB / 0.609 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5462, allocations: 3.938 kB / 0.609 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006413/0.5468, allocations: 284.7 kB / 0.6093 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.547, allocations: 129.8 kB / 0.6094 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.547, allocations: 5.328 kB / 0.6094 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.5473, allocations: 17.36 kB / 0.6095 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.5474, allocations: 14.7 kB / 0.6095 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.5474, allocations: 9.609 kB / 0.6095 GB, free: 15.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002535/0.5476, allocations: 239 kB / 0.6097 GB, free: 14.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5477, allocations: 4 kB / 0.6097 GB, free: 14.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000495/0.5482, allocations: 115.2 kB / 0.6098 GB, free: 14.88 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.0003591/0.5485, allocations: 186.5 kB / 0.61 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005188/0.5491, allocations: 233.4 kB / 0.6102 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5491, allocations: 0 / 0.6102 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.5493, allocations: 71.77 kB / 0.6103 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009565/0.5502, allocations: 213.4 kB / 0.6105 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.5518, allocations: 0.8785 MB / 0.6114 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.5522, allocations: 0.7862 MB / 0.6121 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.5523, allocations: 39.7 kB / 0.6122 GB, free: 13.03 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5523, allocations: 0 / 0.6122 GB, free: 13.03 MB / 462.1 MB Notification: Performance of Templates: time 0.01068/0.563, allocations: 5.968 MB / 0.618 GB, free: 9.949 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