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.1032/0.1032, allocations: 15.28 MB / 31.06 MB, free: 4.375 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.001086/0.001086, allocations: 107.1 kB / 36.02 MB, free: 3.434 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.001351/0.001351, allocations: 201.1 kB / 41.13 MB, free: 7.52 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.598/1.598, allocations: 222.9 MB / 268.9 MB, free: 7.145 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1955/0.1955, allocations: 23.34 MB / 346.6 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 103.8 kB / 418.1 MB, free: 30.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1558, allocations: 59.37 MB / 477.5 MB, free: 3.449 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.3855/0.5412, allocations: 75.06 MB / 0.5396 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01669/0.558, allocations: 15.47 MB / 0.5547 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.5596, allocations: 41.44 kB / 0.5547 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009706/0.5606, allocations: 195.2 kB / 0.5549 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004639/0.5652, allocations: 1.435 MB / 0.5563 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007877/0.5731, allocations: 1.916 MB / 0.5582 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002634/0.5758, allocations: 2.207 MB / 0.5604 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000655/0.5765, allocations: 374 kB / 0.5607 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.5792, allocations: 1.06 MB / 0.5617 GB, free: 4.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008878/0.5801, allocations: 0.5573 MB / 0.5623 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/0.5802, allocations: 36 kB / 0.5623 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005013/0.5852, allocations: 1.479 MB / 0.5638 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.5855, allocations: 152.3 kB / 0.5639 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004767/0.586, allocations: 328.3 kB / 0.5642 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002782/0.5888, allocations: 1.459 MB / 0.5657 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.5888, allocations: 2.344 kB / 0.5657 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5888, allocations: 0 / 0.5657 GB, free: 1.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.5888, allocations: 0 / 0.5657 GB, free: 1.539 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.002369/0.5912, allocations: 1.141 MB / 0.5668 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.5913, allocations: 9.719 kB / 0.5668 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.5914, allocations: 63.25 kB / 0.5668 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.592, allocations: 451 kB / 0.5673 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.5921, allocations: 42.88 kB / 0.5673 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-05/0.5922, allocations: 42.62 kB / 0.5673 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.5938, allocations: 0.6039 MB / 0.5679 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.5938, allocations: 7.906 kB / 0.5679 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.5939, allocations: 16 kB / 0.568 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.5939, allocations: 8 kB / 0.568 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.5949, allocations: 495.6 kB / 0.5684 GB, free: 15.13 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.003039/0.598, allocations: 2.238 MB / 0.5706 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009315/0.5989, allocations: 0.5196 MB / 0.5711 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005188/0.5995, allocations: 256.7 kB / 0.5714 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001842/0.6013, allocations: 1.402 MB / 0.5727 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005449/0.6019, allocations: 264.9 kB / 0.573 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.144e-06/0.6019, allocations: 0 / 0.573 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=38): time 0.00167/0.6036, allocations: 0.7141 MB / 0.5737 GB, free: 9.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.6036, allocations: 67.28 kB / 0.5738 GB, free: 9.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.6042, allocations: 469.8 kB / 0.5742 GB, free: 8.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.6042, allocations: 29.7 kB / 0.5742 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.6044, allocations: 291.7 kB / 0.5745 GB, free: 8.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.6046, allocations: 137.1 kB / 0.5746 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.6048, allocations: 106.1 kB / 0.5747 GB, free: 8.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6049, allocations: 366.7 kB / 0.5751 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.6054, allocations: 209 kB / 0.5753 GB, free: 7.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005336/0.6059, allocations: 340.5 kB / 0.5756 GB, free: 7.332 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.6099, allocations: 1.714 MB / 0.5773 GB, free: 5.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.6099, allocations: 3.938 kB / 0.5773 GB, free: 5.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001563/0.6115, allocations: 0.6965 MB / 0.578 GB, free: 4.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.6116, allocations: 37.77 kB / 0.578 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.6116, allocations: 4 kB / 0.578 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.6118, allocations: 40.83 kB / 0.5781 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.6123, allocations: 107.8 kB / 0.5782 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005144/0.6128, allocations: 0.5756 MB / 0.5787 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/0.6135, allocations: 71.5 kB / 0.5788 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/0.6136, allocations: 23.98 kB / 0.5788 GB, free: 3.91 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 system: 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.00035/0.614, allocations: 193.7 kB / 0.579 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.6141, allocations: 55.28 kB / 0.5791 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.6153, allocations: 0.5372 MB / 0.5796 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.6153, allocations: 4 kB / 0.5796 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6154, allocations: 0 / 0.5796 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.6154, allocations: 3.984 kB / 0.5796 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.616, allocations: 0.5264 MB / 0.5801 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.6161, allocations: 3.984 kB / 0.5801 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.6164, allocations: 67.89 kB / 0.5802 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.741e-05/0.6165, allocations: 40.83 kB / 0.5802 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.6167, allocations: 8 kB / 0.5802 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004219/0.6171, allocations: 0.5523 MB / 0.5808 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.6171, allocations: 4.031 kB / 0.5808 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.6186, allocations: 0.7669 MB / 0.5815 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.6189, allocations: 176.3 kB / 0.5817 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/0.619, allocations: 8 kB / 0.5817 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.6194, allocations: 47.89 kB / 0.5817 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.6195, allocations: 27.95 kB / 0.5818 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.6196, allocations: 19.98 kB / 0.5818 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.62, allocations: 319.1 kB / 0.5821 GB, free: 456 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.62, allocations: 3.938 kB / 0.5821 GB, free: 452 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001575/0.6215, allocations: 0.4954 MB / 0.5826 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.001429/0.623, allocations: 0.7339 MB / 0.5833 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.6242, allocations: 0.5593 MB / 0.5838 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6243, allocations: 192 / 0.5838 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004985/0.6248, allocations: 239.5 kB / 0.5841 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.6259, allocations: 233.4 kB / 0.5843 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.6286, allocations: 1.39 MB / 0.5856 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.6291, allocations: 0.8591 MB / 0.5865 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.6294, allocations: 71.39 kB / 0.5865 GB, free: 11.86 MB / 414.1 MB Notification: Performance of SimCode: time 2.254e-06/0.6294, allocations: 0 / 0.5865 GB, free: 11.86 MB / 414.1 MB Notification: Performance of Templates: time 0.0237/0.6531, allocations: 14.67 MB / 0.6009 GB, free: 13.24 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