Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.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_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1443/0.1443, allocations: 15.27 MB / 31.2 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.0008304/0.0008305, allocations: 101 kB / 36.22 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.001102/0.001103, allocations: 173.2 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.754/1.754, allocations: 223.2 MB / 269.6 MB, free: 8.422 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.38 MB / 348.3 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007548/0.0007549, allocations: 20.56 kB / 420.9 MB, free: 30.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.162, allocations: 60.48 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.Windkessel_4element): time 0.4177/0.5797, allocations: 79.2 MB / 0.5474 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02371/0.6034, allocations: 22.04 MB / 0.5689 GB, free: 5.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.6054, allocations: 27.75 kB / 0.569 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008318/0.6063, allocations: 212.2 kB / 0.5692 GB, free: 5.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008304/0.6146, allocations: 2.235 MB / 0.5714 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00732/0.6219, allocations: 1.852 MB / 0.5732 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002711/0.6247, allocations: 2.068 MB / 0.5752 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005851/0.6253, allocations: 399.1 kB / 0.5756 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.6279, allocations: 1.04 MB / 0.5766 GB, free: 48 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000975/0.6289, allocations: 0.5355 MB / 0.5771 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.629, allocations: 32 kB / 0.5771 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006625/0.6356, allocations: 1.848 MB / 0.5789 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.6359, allocations: 139.3 kB / 0.5791 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004541/0.6363, allocations: 329.6 kB / 0.5794 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003585/0.6399, allocations: 1.689 MB / 0.581 GB, free: 11.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.64, allocations: 3.984 kB / 0.581 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.64, allocations: 7.938 kB / 0.581 GB, free: 11.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.64, allocations: 0 / 0.581 GB, free: 11.7 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002506/0.6425, allocations: 1.018 MB / 0.582 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.6426, allocations: 8.594 kB / 0.582 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.6427, allocations: 59.25 kB / 0.5821 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/0.6434, allocations: 418.2 kB / 0.5825 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.6434, allocations: 37 kB / 0.5825 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.6436, allocations: 44 kB / 0.5826 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.6446, allocations: 0.5395 MB / 0.5831 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.6446, allocations: 3.984 kB / 0.5831 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/0.6447, allocations: 16 kB / 0.5831 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.6447, allocations: 15.94 kB / 0.5831 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.6457, allocations: 0.4997 MB / 0.5836 GB, free: 8.934 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.003436/0.6492, allocations: 2.47 MB / 0.586 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/0.65, allocations: 433.1 kB / 0.5865 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004992/0.6505, allocations: 269 kB / 0.5867 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/0.652, allocations: 1.114 MB / 0.5878 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004748/0.6525, allocations: 264.6 kB / 0.5881 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002178/0.6527, allocations: 51.59 kB / 0.5881 GB, free: 3.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=41): time 2.374e-06/0.6527, allocations: 4 kB / 0.5881 GB, free: 3.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=41): time 0.001742/0.6545, allocations: 0.8305 MB / 0.5889 GB, free: 3.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.6546, allocations: 59.72 kB / 0.589 GB, free: 3.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.655, allocations: 393.6 kB / 0.5893 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.6551, allocations: 33.7 kB / 0.5894 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.6553, allocations: 248.2 kB / 0.5896 GB, free: 2.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.6555, allocations: 145.9 kB / 0.5898 GB, free: 2.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/0.6555, allocations: 49.69 kB / 0.5898 GB, free: 2.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.6558, allocations: 350.7 kB / 0.5901 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/0.6562, allocations: 185 kB / 0.5903 GB, free: 1.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/0.6566, allocations: 283.3 kB / 0.5906 GB, free: 1.309 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.004216/0.6609, allocations: 1.362 MB / 0.5919 GB, free: 15.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6609, allocations: 0 / 0.5919 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001198/0.6621, allocations: 0.6066 MB / 0.5925 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6621, allocations: 4 kB / 0.5925 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.6621, allocations: 4 kB / 0.5925 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002556/0.6624, allocations: 77.61 kB / 0.5926 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.6628, allocations: 103.9 kB / 0.5927 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008102/0.6637, allocations: 1.116 MB / 0.5938 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.6642, allocations: 44.03 kB / 0.5938 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.6642, allocations: 27.92 kB / 0.5938 GB, free: 13.85 MB / 414.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 (55): * Single equations (assignments): 51 * 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.0003132/0.6646, allocations: 189.3 kB / 0.594 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.6647, allocations: 39.53 kB / 0.5941 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.6659, allocations: 0.5954 MB / 0.5946 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.6659, allocations: 11.98 kB / 0.5947 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.666, allocations: 4.047 kB / 0.5947 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.666, allocations: 11.92 kB / 0.5947 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.6679, allocations: 1.134 MB / 0.5958 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.6679, allocations: 4 kB / 0.5958 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.6682, allocations: 67.89 kB / 0.5958 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001755/0.6684, allocations: 69.67 kB / 0.5959 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.6684, allocations: 23.95 kB / 0.5959 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007307/0.6692, allocations: 1.109 MB / 0.597 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6692, allocations: 0 / 0.597 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.6706, allocations: 0.8253 MB / 0.5978 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.6708, allocations: 168.5 kB / 0.598 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.6709, allocations: 8 kB / 0.598 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.6712, allocations: 39.88 kB / 0.598 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.6713, allocations: 39.73 kB / 0.5981 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.6714, allocations: 11.98 kB / 0.5981 GB, free: 9.316 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003252/0.6717, allocations: 291.1 kB / 0.5984 GB, free: 9.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6717, allocations: 0 / 0.5984 GB, free: 9.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001717/0.6734, allocations: 0.5657 MB / 0.5989 GB, free: 8.469 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (arteries.enthalpy,arteries.substanceMasses[1],inertia.q_in.m_flow) * 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 (38): * Single equations (assignments): 32 * 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.001584/0.675, allocations: 0.8808 MB / 0.5998 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009983/0.6761, allocations: 470.4 kB / 0.6002 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6761, allocations: 0 / 0.6002 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004628/0.6765, allocations: 248 kB / 0.6005 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.6778, allocations: 220.9 kB / 0.6007 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.6799, allocations: 1.376 MB / 0.602 GB, free: 5.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.6803, allocations: 0.8434 MB / 0.6028 GB, free: 4.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.6805, allocations: 63.34 kB / 0.6029 GB, free: 4.312 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6805, allocations: 0 / 0.6029 GB, free: 4.312 MB / 414.1 MB Notification: Performance of Templates: time 0.02853/0.709, allocations: 16.96 MB / 0.6195 GB, free: 3.395 MB / 430.1 MB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.makefile make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.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_4elementCalcHelperMain.o OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4elementCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4elementCalcHelperMain.o] Error 1