Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001069/0.001069, allocations: 100.5 kB / 15.71 MB, free: 452 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.00141/0.00141, allocations: 175.9 kB / 16.58 MB, free: 6.879 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.556/1.556, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.096/1.096, allocations: 135.3 MB / 427 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004928, allocations: 8 kB / 0.5076 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 82.31 MB / 0.588 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01389/0.2353, allocations: 13.19 MB / 0.6009 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005248/0.2406, allocations: 3.389 MB / 0.6042 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006016/0.2413, allocations: 23.88 kB / 0.6042 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000597/0.2419, allocations: 147.1 kB / 0.6043 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.2432, allocations: 493.5 kB / 0.6048 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000907/0.2441, allocations: 296 kB / 0.6051 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001479/0.2456, allocations: 1.247 MB / 0.6063 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.246, allocations: 238.8 kB / 0.6065 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.441/0.687, allocations: 308.5 kB / 0.6068 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.6876, allocations: 286.5 kB / 0.6071 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.6877, allocations: 13.66 kB / 0.6071 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005901/0.6883, allocations: 146.2 kB / 0.6073 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.6884, allocations: 70.16 kB / 0.6073 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.6885, allocations: 100.2 kB / 0.6074 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004786/0.689, allocations: 436.5 kB / 0.6078 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.689, allocations: 0.5625 kB / 0.6078 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.689, allocations: 0 / 0.6078 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.6891, allocations: 0.5 kB / 0.6078 GB, free: 35.19 MB / 0.4981 GB 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.0009838/0.69, allocations: 0.6809 MB / 0.6085 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.6901, allocations: 8.812 kB / 0.6085 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.6903, allocations: 50.09 kB / 0.6086 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006841/0.691, allocations: 462.6 kB / 0.609 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.6911, allocations: 21.22 kB / 0.609 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.6911, allocations: 33.58 kB / 0.609 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.6917, allocations: 315.5 kB / 0.6093 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.6917, allocations: 0 / 0.6093 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.6917, allocations: 15.47 kB / 0.6094 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.6918, allocations: 8.781 kB / 0.6094 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.6922, allocations: 206.1 kB / 0.6096 GB, free: 34.36 MB / 0.4981 GB 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.001509/0.6937, allocations: 1.494 MB / 0.611 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.6941, allocations: 166.6 kB / 0.6112 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.6943, allocations: 72.3 kB / 0.6113 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.6945, allocations: 86.56 kB / 0.6113 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.6947, allocations: 134.5 kB / 0.6115 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.774e-06/0.6947, allocations: 3.344 kB / 0.6115 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005723/0.6953, allocations: 247 kB / 0.6117 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.6954, allocations: 54.22 kB / 0.6118 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.6957, allocations: 336.3 kB / 0.6121 GB, free: 33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.6957, allocations: 31.45 kB / 0.6121 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.6958, allocations: 216.6 kB / 0.6123 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.6959, allocations: 57.75 kB / 0.6124 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.6959, allocations: 5.625 kB / 0.6124 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.696, allocations: 344.4 kB / 0.6127 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.6962, allocations: 78.61 kB / 0.6128 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.6964, allocations: 148 kB / 0.6129 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.6966, allocations: 122 kB / 0.613 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6966, allocations: 4.281 kB / 0.613 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005166/0.6971, allocations: 320 kB / 0.6133 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.6972, allocations: 32.8 kB / 0.6134 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.6972, allocations: 3.406 kB / 0.6134 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.6972, allocations: 3.344 kB / 0.6134 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.6974, allocations: 58.81 kB / 0.6134 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.6975, allocations: 9.094 kB / 0.6134 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.6977, allocations: 42.67 kB / 0.6135 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.6978, allocations: 14.69 kB / 0.6135 GB, free: 32.22 MB / 0.4981 GB 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.0001785/0.6979, allocations: 156.1 kB / 0.6136 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.698, allocations: 36.69 kB / 0.6137 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.6985, allocations: 210 kB / 0.6139 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.6985, allocations: 5.578 kB / 0.6139 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6985, allocations: 0 / 0.6139 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003979/0.6989, allocations: 499.8 kB / 0.6144 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.6993, allocations: 357.1 kB / 0.6147 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6994, allocations: 0 / 0.6147 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.6995, allocations: 33.08 kB / 0.6147 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6995, allocations: 0 / 0.6147 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.6995, allocations: 2.125 kB / 0.6147 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6996, allocations: 6.906 kB / 0.6147 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6996, allocations: 0 / 0.6147 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.7001, allocations: 310.9 kB / 0.615 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.7002, allocations: 126.2 kB / 0.6152 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.7003, allocations: 8.125 kB / 0.6152 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.7005, allocations: 19.61 kB / 0.6152 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.7006, allocations: 16.84 kB / 0.6152 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.7006, allocations: 9.781 kB / 0.6152 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001964/0.7008, allocations: 236.4 kB / 0.6154 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7008, allocations: 0 / 0.6154 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004279/0.7013, allocations: 116.8 kB / 0.6156 GB, free: 31.1 MB / 0.4981 GB 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.0002693/0.7015, allocations: 176.4 kB / 0.6157 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004277/0.702, allocations: 238 kB / 0.6159 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.702, allocations: 0 / 0.6159 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.7021, allocations: 77.38 kB / 0.616 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008736/0.703, allocations: 205.9 kB / 0.6162 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.7044, allocations: 0.9837 MB / 0.6172 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.7046, allocations: 0.7939 MB / 0.618 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.298e-05/0.7047, allocations: 34.44 kB / 0.618 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.7047, allocations: 0 / 0.618 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.008477/0.7132, allocations: 5.884 MB / 0.6237 GB, free: 29.12 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.Storage.Examples.ExpansionVesselCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVesselCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVesselCalcHelperMain.o] Error 1