Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) 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/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1634/0.1634, allocations: 15.27 MB / 31.19 MB, free: 4.359 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007388/0.0007388, allocations: 102.3 kB / 36.21 MB, free: 3.465 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 173.1 kB / 41.34 MB, free: 7.527 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 223.2 MB / 269.6 MB, free: 8.367 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1795/0.1795, allocations: 23.39 MB / 348.3 MB, free: 72 kB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004919, allocations: 16 kB / 420.9 MB, free: 30.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.145, allocations: 60.47 MB / 481.3 MB, free: 1.922 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:596:7-596:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:596:7-596:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Windkessel_3element): time 0.3669/0.5119, allocations: 72.96 MB / 0.5413 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01858/0.5305, allocations: 18.73 MB / 0.5596 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.532, allocations: 31.75 kB / 0.5596 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007837/0.5328, allocations: 181.7 kB / 0.5598 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008029/0.5408, allocations: 2.136 MB / 0.5619 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004988/0.5459, allocations: 1.43 MB / 0.5633 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002085/0.548, allocations: 1.827 MB / 0.5651 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004839/0.5485, allocations: 309.7 kB / 0.5654 GB, free: 4.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002521/0.551, allocations: 0.9714 MB / 0.5663 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007543/0.5518, allocations: 458.6 kB / 0.5668 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.898e-05/0.5519, allocations: 28 kB / 0.5668 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005224/0.5571, allocations: 1.707 MB / 0.5684 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.5573, allocations: 117.3 kB / 0.5686 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.5576, allocations: 295.4 kB / 0.5688 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002675/0.5603, allocations: 1.539 MB / 0.5703 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5603, allocations: 0 / 0.5703 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.5603, allocations: 4 kB / 0.5703 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.5604, allocations: 0 / 0.5703 GB, free: 0.9414 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001662/0.562, allocations: 0.9547 MB / 0.5713 GB, free: 0 / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.667e-05/0.5621, allocations: 12.64 kB / 0.5713 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.5622, allocations: 55.28 kB / 0.5713 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.5628, allocations: 385.6 kB / 0.5717 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.5628, allocations: 29.44 kB / 0.5717 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.048e-05/0.5629, allocations: 37.06 kB / 0.5718 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/0.5637, allocations: 454.6 kB / 0.5722 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.5638, allocations: 3.938 kB / 0.5722 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/0.5638, allocations: 14.69 kB / 0.5722 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.5639, allocations: 8 kB / 0.5722 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007596/0.5646, allocations: 398.7 kB / 0.5726 GB, free: 14.88 MB / 398.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.002854/0.5675, allocations: 2.195 MB / 0.5748 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/0.5682, allocations: 374.9 kB / 0.5751 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.5685, allocations: 185.1 kB / 0.5753 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/0.5699, allocations: 1.006 MB / 0.5763 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004104/0.5703, allocations: 218.9 kB / 0.5765 GB, free: 10.78 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 5.881e-06/0.5703, allocations: 3.984 kB / 0.5765 GB, free: 10.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.001551/0.5719, allocations: 0.7361 MB / 0.5772 GB, free: 9.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.5719, allocations: 57.83 kB / 0.5773 GB, free: 9.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/0.5724, allocations: 397.5 kB / 0.5776 GB, free: 9.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.5725, allocations: 33.7 kB / 0.5777 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.5726, allocations: 232 kB / 0.5779 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.5728, allocations: 118.1 kB / 0.578 GB, free: 9.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.5728, allocations: 49.64 kB / 0.5781 GB, free: 9.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.573, allocations: 354.7 kB / 0.5784 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.5733, allocations: 148.8 kB / 0.5785 GB, free: 8.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.5737, allocations: 245.7 kB / 0.5788 GB, free: 8.316 MB / 398.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: arteries.mass = arteries.tm_start (arteries.m_start[1] + arteries.massOffset = arteries.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/0.576, allocations: 0.987 MB / 0.5797 GB, free: 7.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.576, allocations: 0 / 0.5797 GB, free: 7.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001019/0.5771, allocations: 0.5298 MB / 0.5803 GB, free: 6.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.5771, allocations: 4 kB / 0.5803 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.5771, allocations: 4 kB / 0.5803 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002336/0.5774, allocations: 77.73 kB / 0.5803 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.5777, allocations: 83.89 kB / 0.5804 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007937/0.5785, allocations: 1.12 MB / 0.5815 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000424/0.579, allocations: 71.41 kB / 0.5816 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.579, allocations: 16 kB / 0.5816 GB, free: 5.305 MB / 398.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: arteries.mass = arteries.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.pulses.TD2,$PRE.pulses.HP,$PRE.pulses.T0,pulses.TD2,pulses.HP,pulses.b,pulses.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002454/0.5793, allocations: 188.7 kB / 0.5818 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.5793, allocations: 43.44 kB / 0.5818 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.5804, allocations: 489 kB / 0.5823 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.5804, allocations: 7.938 kB / 0.5823 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5804, allocations: 0 / 0.5823 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5804, allocations: 0 / 0.5823 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.582, allocations: 0.9894 MB / 0.5833 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.582, allocations: 8.031 kB / 0.5833 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.5823, allocations: 43.97 kB / 0.5833 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001789/0.5824, allocations: 73.61 kB / 0.5834 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.5825, allocations: 11.98 kB / 0.5834 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007345/0.5832, allocations: 1.113 MB / 0.5845 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.5832, allocations: 0 / 0.5845 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.5844, allocations: 0.7048 MB / 0.5852 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.5846, allocations: 152.5 kB / 0.5853 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.934e-05/0.5847, allocations: 15.92 kB / 0.5853 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.585, allocations: 27.89 kB / 0.5853 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.5851, allocations: 27.95 kB / 0.5854 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.5851, allocations: 20.05 kB / 0.5854 GB, free: 1.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003377/0.5855, allocations: 283.2 kB / 0.5857 GB, free: 0.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5855, allocations: 0 / 0.5857 GB, free: 0.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001566/0.5871, allocations: 0.5111 MB / 0.5862 GB, free: 456 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (arteries.enthalpy,arteries.substanceMasses[1]) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001517/0.5886, allocations: 0.8371 MB / 0.587 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009092/0.5895, allocations: 388.4 kB / 0.5873 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5895, allocations: 0 / 0.5873 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.5899, allocations: 188.3 kB / 0.5875 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.5911, allocations: 205.2 kB / 0.5877 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.593, allocations: 1.175 MB / 0.5889 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.5934, allocations: 0.8235 MB / 0.5897 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.5935, allocations: 47.41 kB / 0.5897 GB, free: 12.8 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5935, allocations: 0 / 0.5897 GB, free: 12.8 MB / 414.1 MB Notification: Performance of Templates: time 0.02042/0.614, allocations: 15.43 MB / 0.6048 GB, free: 13.43 MB / 430.1 MB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.makefile make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.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 OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3elementCalcHelperMain.o OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3elementCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3elementCalcHelperMain.o] Error 1