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.1251/0.1251, allocations: 15.28 MB / 31.05 MB, free: 4.387 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.001457/0.001457, allocations: 110.1 kB / 36.03 MB, free: 3.445 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.001821/0.001821, allocations: 205 kB / 41.13 MB, free: 7.523 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.566/1.566, allocations: 222.9 MB / 268.9 MB, free: 7.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1941/0.1941, allocations: 23.35 MB / 346.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 111.8 kB / 418.1 MB, free: 30.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1419, allocations: 59.37 MB / 477.5 MB, free: 3.484 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_2element): time 0.5943/0.7363, allocations: 67.49 MB / 0.5322 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01794/0.7542, allocations: 15.57 MB / 0.5474 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.7555, allocations: 29.91 kB / 0.5474 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007545/0.7563, allocations: 160.8 kB / 0.5476 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007177/0.7635, allocations: 2.033 MB / 0.5496 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.7669, allocations: 1.011 MB / 0.5506 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002083/0.769, allocations: 1.654 MB / 0.5522 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004381/0.7695, allocations: 282.1 kB / 0.5524 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.7719, allocations: 0.942 MB / 0.5534 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006233/0.7725, allocations: 427.7 kB / 0.5538 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.7726, allocations: 24 kB / 0.5538 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005104/0.7777, allocations: 1.571 MB / 0.5553 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.7779, allocations: 114.3 kB / 0.5554 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.7782, allocations: 243.4 kB / 0.5557 GB, free: 8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002389/0.7806, allocations: 1.426 MB / 0.5571 GB, free: 7.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.7806, allocations: 3.938 kB / 0.5571 GB, free: 7.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.7806, allocations: 0 / 0.5571 GB, free: 7.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.7806, allocations: 4 kB / 0.5571 GB, free: 7.125 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.001726/0.7823, allocations: 0.9624 MB / 0.558 GB, free: 6.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.7824, allocations: 12.59 kB / 0.558 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.7825, allocations: 52.75 kB / 0.5581 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.783, allocations: 367.6 kB / 0.5584 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.783, allocations: 29.66 kB / 0.5584 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.7831, allocations: 33.56 kB / 0.5585 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006469/0.7837, allocations: 405.6 kB / 0.5589 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.7838, allocations: 4 kB / 0.5589 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.7838, allocations: 17.97 kB / 0.5589 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.7838, allocations: 10.31 kB / 0.5589 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/0.7844, allocations: 335.8 kB / 0.5592 GB, free: 5.406 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.002204/0.7867, allocations: 2.03 MB / 0.5612 GB, free: 3.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.7872, allocations: 322.1 kB / 0.5615 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.7875, allocations: 167 kB / 0.5617 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/0.7885, allocations: 0.9616 MB / 0.5626 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003425/0.7889, allocations: 194.2 kB / 0.5628 GB, free: 2.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/0.7889, allocations: 0 / 0.5628 GB, free: 2.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001133/0.79, allocations: 0.5256 MB / 0.5633 GB, free: 2.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.7901, allocations: 60.23 kB / 0.5634 GB, free: 1.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.7904, allocations: 381.6 kB / 0.5637 GB, free: 1.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.7905, allocations: 33.7 kB / 0.5638 GB, free: 1.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.7906, allocations: 225 kB / 0.564 GB, free: 1.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/0.7907, allocations: 101.7 kB / 0.5641 GB, free: 1.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.7908, allocations: 82.69 kB / 0.5641 GB, free: 1.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.7909, allocations: 351.4 kB / 0.5645 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.7911, allocations: 137.8 kB / 0.5646 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.7914, allocations: 223.7 kB / 0.5648 GB, free: 0.5469 MB / 382.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.001998/0.7934, allocations: 0.8803 MB / 0.5657 GB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.7934, allocations: 3.938 kB / 0.5657 GB, free: 15.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009935/0.7944, allocations: 461.7 kB / 0.5661 GB, free: 15.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.7945, allocations: 8 kB / 0.5661 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.7945, allocations: 0 / 0.5661 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00015/0.7946, allocations: 36.78 kB / 0.5662 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.795, allocations: 75.89 kB / 0.5662 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004741/0.7955, allocations: 0.5523 MB / 0.5668 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.7959, allocations: 59.55 kB / 0.5668 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.7959, allocations: 19.98 kB / 0.5669 GB, free: 14.45 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 (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.0002304/0.7962, allocations: 166.8 kB / 0.567 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.7963, allocations: 43.47 kB / 0.5671 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009162/0.7972, allocations: 424.6 kB / 0.5675 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.7972, allocations: 11.94 kB / 0.5675 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7972, allocations: 0 / 0.5675 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.7972, allocations: 0 / 0.5675 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.7986, allocations: 0.8533 MB / 0.5683 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7986, allocations: 4 kB / 0.5683 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.7989, allocations: 47.94 kB / 0.5684 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.441e-05/0.799, allocations: 36.83 kB / 0.5684 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.799, allocations: 4 kB / 0.5684 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000378/0.7994, allocations: 0.5522 MB / 0.5689 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.7994, allocations: 4 kB / 0.5689 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.8004, allocations: 0.5992 MB / 0.5695 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.8006, allocations: 140.7 kB / 0.5697 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.8007, allocations: 11.91 kB / 0.5697 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.801, allocations: 31.97 kB / 0.5697 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.8011, allocations: 27.95 kB / 0.5697 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.8012, allocations: 8 kB / 0.5697 GB, free: 11.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003364/0.8015, allocations: 275.1 kB / 0.57 GB, free: 11.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8015, allocations: 0 / 0.57 GB, free: 11.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001552/0.8031, allocations: 483.4 kB / 0.5705 GB, free: 10.61 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.001509/0.8046, allocations: 0.7878 MB / 0.5712 GB, free: 9.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008424/0.8054, allocations: 324.3 kB / 0.5715 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8055, allocations: 7.938 kB / 0.5715 GB, free: 9.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.8058, allocations: 155.8 kB / 0.5717 GB, free: 9.422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.8069, allocations: 181.4 kB / 0.5719 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.8086, allocations: 1.003 MB / 0.5728 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.809, allocations: 0.8077 MB / 0.5736 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.8091, allocations: 59.28 kB / 0.5737 GB, free: 7.324 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.8092, allocations: 0 / 0.5737 GB, free: 7.324 MB / 398.1 MB Notification: Performance of Templates: time 0.01849/0.8277, allocations: 12.84 MB / 0.5862 GB, free: 10.52 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