Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.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_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1361/0.1361, allocations: 15.27 MB / 31.2 MB, free: 4.484 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.0007716/0.0007717, allocations: 103.5 kB / 36.22 MB, free: 3.426 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.001213/0.001213, allocations: 177.1 kB / 41.34 MB, free: 7.629 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.608/1.608, allocations: 223.2 MB / 269.6 MB, free: 8.816 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1803/0.1803, allocations: 23.37 MB / 348.3 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005244/0.0005247, allocations: 23.98 kB / 420.9 MB, free: 30.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1461, allocations: 60.48 MB / 481.4 MB, free: 2 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_2element): time 0.3955/0.5416, allocations: 66.69 MB / 0.5352 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0165/0.5581, allocations: 15.39 MB / 0.5502 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.5595, allocations: 28.72 kB / 0.5503 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000752/0.5602, allocations: 164.5 kB / 0.5504 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007231/0.5675, allocations: 2.028 MB / 0.5524 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.5714, allocations: 1.012 MB / 0.5534 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002071/0.5735, allocations: 1.656 MB / 0.555 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004244/0.5739, allocations: 280.3 kB / 0.5553 GB, free: 9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00241/0.5763, allocations: 0.9396 MB / 0.5562 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007002/0.577, allocations: 409 kB / 0.5566 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.5771, allocations: 24 kB / 0.5566 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004748/0.5819, allocations: 1.573 MB / 0.5581 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.582, allocations: 118 kB / 0.5582 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.5824, allocations: 257 kB / 0.5585 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002494/0.5849, allocations: 1.425 MB / 0.5599 GB, free: 6.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.5849, allocations: 0 / 0.5599 GB, free: 6.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5849, allocations: 0 / 0.5599 GB, free: 6.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.5849, allocations: 0 / 0.5599 GB, free: 6.141 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001461/0.5864, allocations: 0.9099 MB / 0.5608 GB, free: 5.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.5864, allocations: 12.53 kB / 0.5608 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/0.5865, allocations: 48.75 kB / 0.5608 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.5869, allocations: 373.1 kB / 0.5612 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.5869, allocations: 29.7 kB / 0.5612 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/0.587, allocations: 35.44 kB / 0.5612 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006242/0.5876, allocations: 409 kB / 0.5616 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.5877, allocations: 4 kB / 0.5616 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.5877, allocations: 14 kB / 0.5617 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.5877, allocations: 8 kB / 0.5617 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.5883, allocations: 344.9 kB / 0.562 GB, free: 4.434 MB / 382.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.001997/0.5903, allocations: 2.04 MB / 0.564 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.5908, allocations: 341.5 kB / 0.5643 GB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.5911, allocations: 161.3 kB / 0.5645 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009442/0.5921, allocations: 0.9645 MB / 0.5654 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.5924, allocations: 195.4 kB / 0.5656 GB, free: 1.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/0.5924, allocations: 0 / 0.5656 GB, free: 1.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001059/0.5935, allocations: 0.5455 MB / 0.5661 GB, free: 1.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.5935, allocations: 59.41 kB / 0.5662 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.5939, allocations: 382.8 kB / 0.5665 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.5939, allocations: 39.38 kB / 0.5666 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.594, allocations: 218.3 kB / 0.5668 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.5941, allocations: 101.2 kB / 0.5669 GB, free: 432 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.5941, allocations: 40.89 kB / 0.5669 GB, free: 396 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.5942, allocations: 353.4 kB / 0.5673 GB, free: 52 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.5945, allocations: 145.7 kB / 0.5674 GB, free: 15.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.5949, allocations: 230.7 kB / 0.5676 GB, free: 15.74 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.002054/0.5969, allocations: 0.9037 MB / 0.5685 GB, free: 15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5969, allocations: 0 / 0.5685 GB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008769/0.5978, allocations: 482.2 kB / 0.569 GB, free: 14.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.5979, allocations: 8.938 kB / 0.569 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5979, allocations: 4 kB / 0.569 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.598, allocations: 40.77 kB / 0.569 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.5984, allocations: 79.83 kB / 0.5691 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003687/0.5987, allocations: 0.5484 MB / 0.5696 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.5991, allocations: 63.61 kB / 0.5697 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.5992, allocations: 15.98 kB / 0.5697 GB, free: 13.84 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 (47): * 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: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002245/0.5994, allocations: 181.8 kB / 0.5699 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.5995, allocations: 43.47 kB / 0.5699 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008651/0.6003, allocations: 436.6 kB / 0.5703 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.6004, allocations: 3.938 kB / 0.5703 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.6004, allocations: 0 / 0.5703 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6004, allocations: 4 kB / 0.5703 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.6017, allocations: 0.877 MB / 0.5712 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.6017, allocations: 0 / 0.5712 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.602, allocations: 47.91 kB / 0.5712 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-05/0.6021, allocations: 40.86 kB / 0.5713 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.6021, allocations: 4 kB / 0.5713 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003285/0.6025, allocations: 0.5445 MB / 0.5718 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6025, allocations: 7.969 kB / 0.5718 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.6035, allocations: 0.6149 MB / 0.5724 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.6037, allocations: 148.5 kB / 0.5726 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.008e-05/0.6037, allocations: 8 kB / 0.5726 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.604, allocations: 23.98 kB / 0.5726 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/0.6041, allocations: 32 kB / 0.5726 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.6042, allocations: 12 kB / 0.5726 GB, free: 10.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002912/0.6045, allocations: 271.2 kB / 0.5729 GB, free: 10.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6045, allocations: 3.938 kB / 0.5729 GB, free: 10.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001254/0.6057, allocations: 491.4 kB / 0.5734 GB, free: 9.934 MB / 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 (28): * 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: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001303/0.607, allocations: 0.7803 MB / 0.5741 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008189/0.6079, allocations: 340.3 kB / 0.5745 GB, free: 8.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6079, allocations: 4 kB / 0.5745 GB, free: 8.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.6082, allocations: 151.9 kB / 0.5746 GB, free: 8.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.6093, allocations: 197.1 kB / 0.5748 GB, free: 8.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.6109, allocations: 1.082 MB / 0.5759 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.6113, allocations: 0.8116 MB / 0.5766 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.6114, allocations: 47.41 kB / 0.5767 GB, free: 6.551 MB / 398.1 MB Notification: Performance of SimCode: time 2.635e-06/0.6114, allocations: 0 / 0.5767 GB, free: 6.551 MB / 398.1 MB Notification: Performance of Templates: time 0.01749/0.6289, allocations: 12.8 MB / 0.5892 GB, free: 9.797 MB / 414.1 MB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.makefile make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.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_2elementCalcHelperMain.o OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2elementCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2elementCalcHelperMain.o] Error 1