Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.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.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation") translateModel(Physiolibrary.Fluid.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1512/0.1512, allocations: 15.26 MB / 31.19 MB, free: 4.348 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.0008606/0.0008609, allocations: 97.8 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.001419/0.001419, allocations: 173.2 kB / 41.34 MB, free: 7.516 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.646/1.646, allocations: 223.2 MB / 269.6 MB, free: 8.812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1636/0.1636, allocations: 23.39 MB / 348.3 MB, free: 0.5 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005207/0.000521, allocations: 15.98 kB / 420.9 MB, free: 30.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1466, allocations: 60.49 MB / 481.4 MB, free: 2.016 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.MinimalCirculation): time 0.4252/0.5719, allocations: 74.16 MB / 0.5425 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01761/0.5895, allocations: 15.3 MB / 0.5574 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.5912, allocations: 31.75 kB / 0.5575 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007763/0.592, allocations: 206.5 kB / 0.5577 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005887/0.5979, allocations: 1.434 MB / 0.5591 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007188/0.6051, allocations: 1.913 MB / 0.5609 GB, free: 6.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002504/0.6076, allocations: 2.206 MB / 0.5631 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005397/0.6082, allocations: 367.9 kB / 0.5634 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/0.6109, allocations: 1.047 MB / 0.5645 GB, free: 3.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008834/0.6118, allocations: 0.5533 MB / 0.565 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.205e-05/0.6119, allocations: 36 kB / 0.565 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004883/0.6168, allocations: 1.473 MB / 0.5665 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.617, allocations: 151.6 kB / 0.5666 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004119/0.6175, allocations: 349.6 kB / 0.567 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002313/0.6198, allocations: 1.444 MB / 0.5684 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.6198, allocations: 2.062 kB / 0.5684 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6198, allocations: 0 / 0.5684 GB, free: 1.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.6198, allocations: 4 kB / 0.5684 GB, free: 1.496 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001913/0.6217, allocations: 1.055 MB / 0.5694 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.6218, allocations: 8.594 kB / 0.5694 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.6219, allocations: 67.19 kB / 0.5695 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005414/0.6225, allocations: 449.2 kB / 0.5699 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.283e-05/0.6225, allocations: 35.95 kB / 0.5699 GB, free: 16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.66e-05/0.6226, allocations: 46.12 kB / 0.57 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.6237, allocations: 0.5597 MB / 0.5705 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.6237, allocations: 3.984 kB / 0.5705 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/0.6238, allocations: 21.56 kB / 0.5705 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.6238, allocations: 12 kB / 0.5706 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.6248, allocations: 0.5071 MB / 0.5711 GB, free: 15.14 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.002947/0.6278, allocations: 2.262 MB / 0.5733 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009433/0.6287, allocations: 0.5314 MB / 0.5738 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005465/0.6293, allocations: 272.7 kB / 0.574 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001835/0.6311, allocations: 1.409 MB / 0.5754 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005621/0.6317, allocations: 264.7 kB / 0.5757 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.335e-06/0.6317, allocations: 7.938 kB / 0.5757 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=38): time 0.0017/0.6334, allocations: 0.7492 MB / 0.5764 GB, free: 9.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.6335, allocations: 59.41 kB / 0.5765 GB, free: 9.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005509/0.6341, allocations: 465.8 kB / 0.5769 GB, free: 8.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.6341, allocations: 37.7 kB / 0.5769 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.6343, allocations: 286.9 kB / 0.5772 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.6345, allocations: 140.9 kB / 0.5774 GB, free: 8.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.6345, allocations: 53.69 kB / 0.5774 GB, free: 8.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.6347, allocations: 362.7 kB / 0.5778 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/0.6352, allocations: 221 kB / 0.578 GB, free: 7.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/0.6358, allocations: 352.4 kB / 0.5783 GB, free: 7.48 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: veins.mass = veins.tm_start (veins.m_start[1] + veins.massOffset = veins.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003973/0.6397, allocations: 1.759 MB / 0.58 GB, free: 5.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.6398, allocations: 0 / 0.58 GB, free: 5.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001434/0.6412, allocations: 0.7156 MB / 0.5807 GB, free: 4.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.992e-05/0.6413, allocations: 38.27 kB / 0.5808 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.6413, allocations: 4.375 kB / 0.5808 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.6414, allocations: 44.83 kB / 0.5808 GB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.642, allocations: 123.8 kB / 0.5809 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004005/0.6424, allocations: 0.5602 MB / 0.5815 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.643, allocations: 79.5 kB / 0.5815 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.643, allocations: 27.98 kB / 0.5816 GB, free: 3.98 MB / 398.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: arteries.mass = arteries.tm_start veins.mass = veins.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.pulse.count,$PRE.pulse.T_start,pulse.count,pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.0002783/0.6433, allocations: 189.6 kB / 0.5817 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/0.6434, allocations: 51.38 kB / 0.5818 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.6446, allocations: 0.5647 MB / 0.5823 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.6446, allocations: 11.98 kB / 0.5824 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6447, allocations: 4 kB / 0.5824 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.6447, allocations: 4 kB / 0.5824 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006394/0.6453, allocations: 0.5182 MB / 0.5829 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6453, allocations: 0 / 0.5829 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.6457, allocations: 71.95 kB / 0.5829 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.408e-05/0.6458, allocations: 36.77 kB / 0.583 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.6458, allocations: 12 kB / 0.583 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003511/0.6462, allocations: 0.5524 MB / 0.5835 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6462, allocations: 3.984 kB / 0.5835 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.6477, allocations: 0.7982 MB / 0.5843 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.6479, allocations: 176.3 kB / 0.5845 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-05/0.648, allocations: 12 kB / 0.5845 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.6484, allocations: 51.89 kB / 0.5845 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.6485, allocations: 31.95 kB / 0.5846 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.6486, allocations: 15.98 kB / 0.5846 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003614/0.649, allocations: 319.1 kB / 0.5849 GB, free: 460 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.649, allocations: 0 / 0.5849 GB, free: 460 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.00144/0.6504, allocations: 0.4994 MB / 0.5854 GB, free: 15.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (arteries.enthalpy,arteries.substanceMasses[1],veins.enthalpy,veins.substanceMasses[1]) * 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.001302/0.6517, allocations: 0.722 MB / 0.5861 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.6529, allocations: 0.5822 MB / 0.5867 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.653, allocations: 0 / 0.5867 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005/0.6535, allocations: 240.3 kB / 0.5869 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.6547, allocations: 241.2 kB / 0.5871 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.657, allocations: 1.495 MB / 0.5886 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.6574, allocations: 0.863 MB / 0.5894 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.6577, allocations: 67.41 kB / 0.5895 GB, free: 11.74 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.6577, allocations: 0 / 0.5895 GB, free: 11.74 MB / 414.1 MB Notification: Performance of Templates: time 0.0197/0.6774, allocations: 14.61 MB / 0.6037 GB, free: 13.17 MB / 430.1 MB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.makefile make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.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.MinimalCirculationCalcHelperMain.o OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculationCalcHelperMain.o] Error 1