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.1352/0.1352, allocations: 15.28 MB / 31.05 MB, free: 4.262 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.00112/0.00112, allocations: 111 kB / 36.03 MB, free: 3.355 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.001483/0.001483, allocations: 205 kB / 41.13 MB, free: 7.434 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.635/1.635, allocations: 222.9 MB / 268.9 MB, free: 7.629 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1725/0.1725, allocations: 23.36 MB / 346.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 103.8 kB / 418.1 MB, free: 30.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1256, allocations: 59.38 MB / 477.5 MB, free: 3.441 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707: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:707:7-707: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.4115/0.5372, allocations: 73.83 MB / 0.5384 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01961/0.5568, allocations: 18.93 MB / 0.5569 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.5583, allocations: 35.75 kB / 0.5569 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000912/0.5593, allocations: 186.6 kB / 0.5571 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007996/0.5673, allocations: 2.14 MB / 0.5592 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005616/0.5729, allocations: 1.436 MB / 0.5606 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0021/0.5751, allocations: 1.819 MB / 0.5624 GB, free: 4.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005117/0.5756, allocations: 315.4 kB / 0.5627 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.5781, allocations: 0.9806 MB / 0.5636 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006577/0.5788, allocations: 467.5 kB / 0.5641 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.5788, allocations: 28 kB / 0.5641 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005477/0.5843, allocations: 1.708 MB / 0.5658 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.5845, allocations: 127.1 kB / 0.5659 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002968/0.5848, allocations: 269.2 kB / 0.5661 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.5872, allocations: 1.542 MB / 0.5676 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.5872, allocations: 0 / 0.5676 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5872, allocations: 0 / 0.5676 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.5872, allocations: 0 / 0.5676 GB, free: 0.9648 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.001714/0.5889, allocations: 1.033 MB / 0.5686 GB, free: 48 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.589, allocations: 8.594 kB / 0.5687 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.5891, allocations: 55.45 kB / 0.5687 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.5896, allocations: 392.5 kB / 0.5691 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.5897, allocations: 39.98 kB / 0.5691 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/0.5898, allocations: 39.94 kB / 0.5692 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007701/0.5905, allocations: 442.6 kB / 0.5696 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.5906, allocations: 0 / 0.5696 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.5906, allocations: 16 kB / 0.5696 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.5906, allocations: 10.81 kB / 0.5696 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007443/0.5914, allocations: 390 kB / 0.57 GB, free: 14.77 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.002733/0.5941, allocations: 2.186 MB / 0.5721 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006222/0.5948, allocations: 351 kB / 0.5724 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.5951, allocations: 185 kB / 0.5726 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/0.5964, allocations: 1.008 MB / 0.5736 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003829/0.5968, allocations: 210.9 kB / 0.5738 GB, free: 10.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.5968, allocations: 4 kB / 0.5738 GB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.001484/0.5983, allocations: 0.7127 MB / 0.5745 GB, free: 9.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.5983, allocations: 55.41 kB / 0.5746 GB, free: 9.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.5987, allocations: 397.5 kB / 0.5749 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.5988, allocations: 33.69 kB / 0.575 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.599, allocations: 232 kB / 0.5752 GB, free: 9.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.5991, allocations: 114.6 kB / 0.5753 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.5992, allocations: 86.11 kB / 0.5754 GB, free: 8.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5994, allocations: 354.7 kB / 0.5757 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.5997, allocations: 152.8 kB / 0.5759 GB, free: 8.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.6001, allocations: 233.7 kB / 0.5761 GB, free: 8.051 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.002302/0.6024, allocations: 0.9557 MB / 0.577 GB, free: 7.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6024, allocations: 0 / 0.577 GB, free: 7.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009748/0.6034, allocations: 0.5257 MB / 0.5775 GB, free: 6.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.6034, allocations: 4 kB / 0.5775 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.6034, allocations: 4 kB / 0.5775 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/0.6037, allocations: 77.92 kB / 0.5776 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.604, allocations: 75.89 kB / 0.5777 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007923/0.6048, allocations: 1.12 MB / 0.5788 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.6052, allocations: 59.45 kB / 0.5788 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.6053, allocations: 19.98 kB / 0.5789 GB, free: 5.09 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 system: 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.0002201/0.6055, allocations: 178.4 kB / 0.579 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.6056, allocations: 39.53 kB / 0.5791 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009646/0.6065, allocations: 488.8 kB / 0.5795 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.6066, allocations: 4 kB / 0.5795 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6066, allocations: 0 / 0.5795 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.6066, allocations: 3.984 kB / 0.5795 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.6082, allocations: 0.9713 MB / 0.5805 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6082, allocations: 0 / 0.5805 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.6084, allocations: 43.97 kB / 0.5805 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.6086, allocations: 73.7 kB / 0.5806 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.6087, allocations: 15.98 kB / 0.5806 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.6097, allocations: 1.124 MB / 0.5817 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6097, allocations: 0 / 0.5817 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.611, allocations: 0.6852 MB / 0.5824 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.6112, allocations: 156.5 kB / 0.5825 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.495e-05/0.6112, allocations: 11.98 kB / 0.5825 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.6116, allocations: 24.05 kB / 0.5826 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.6117, allocations: 27.95 kB / 0.5826 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.6118, allocations: 8 kB / 0.5826 GB, free: 1.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003075/0.6121, allocations: 283.1 kB / 0.5829 GB, free: 0.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6121, allocations: 0 / 0.5829 GB, free: 0.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001509/0.6136, allocations: 0.515 MB / 0.5834 GB, free: 284 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.00149/0.6151, allocations: 0.8386 MB / 0.5842 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008893/0.616, allocations: 380.8 kB / 0.5846 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.616, allocations: 0 / 0.5846 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.6165, allocations: 179.8 kB / 0.5847 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.6175, allocations: 205.7 kB / 0.5849 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.6193, allocations: 1.098 MB / 0.586 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.6198, allocations: 0.8196 MB / 0.5868 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.62, allocations: 51.34 kB / 0.5868 GB, free: 12.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.62, allocations: 4 kB / 0.5868 GB, free: 12.75 MB / 414.1 MB Notification: Performance of Templates: time 0.02213/0.6421, allocations: 15.49 MB / 0.602 GB, free: 13.29 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