Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.05261/0.05261, allocations: 11.16 MB / 31.01 MB, free: 5.062 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007203/0.0007203, allocations: 88.34 kB / 38.59 MB, free: 7.473 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008489/0.0008489, allocations: 160.6 kB / 46.26 MB, free: 10.91 MB / 44.04 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8442/0.8442, allocations: 177.1 MB / 231 MB, free: 6.574 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1924/0.1924, allocations: 17.62 MB / 309.5 MB, free: 1.723 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 454.4 MB, free: 5.508 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.454e-05, allocations: 6.281 kB / 454.4 MB, free: 5.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.1571/0.1571, allocations: 31.05 MB / 485.4 MB, free: 32.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007073/0.1641, allocations: 15.66 MB / 0.4894 GB, free: 22.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.1643, allocations: 10.62 kB / 0.4894 GB, free: 22.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.1646, allocations: 117.9 kB / 0.4895 GB, free: 22.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.1666, allocations: 1.828 MB / 0.4913 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.1682, allocations: 1.387 MB / 0.4926 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.1685, allocations: 0.5651 MB / 0.4932 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.1689, allocations: 0.661 MB / 0.4938 GB, free: 19.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.1702, allocations: 1.366 MB / 0.4952 GB, free: 19.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.1706, allocations: 0.5678 MB / 0.4957 GB, free: 19.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.89e-05/0.1706, allocations: 75.09 kB / 0.4958 GB, free: 19.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.1724, allocations: 1.937 MB / 0.4977 GB, free: 18.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.1725, allocations: 277.6 kB / 0.4979 GB, free: 18.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.1727, allocations: 269.6 kB / 0.4982 GB, free: 18.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.1746, allocations: 2.993 MB / 0.5011 GB, free: 17.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1746, allocations: 1.25 kB / 0.5011 GB, free: 17.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1746, allocations: 4 kB / 0.5011 GB, free: 17.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.1746, allocations: 3 kB / 0.5011 GB, free: 17.1 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001099/0.1757, allocations: 0.9333 MB / 0.502 GB, free: 16.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1757, allocations: 9.188 kB / 0.502 GB, free: 16.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.1758, allocations: 40.08 kB / 0.5021 GB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.1762, allocations: 372.1 kB / 0.5024 GB, free: 16.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.1762, allocations: 22.12 kB / 0.5025 GB, free: 16.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.1763, allocations: 22.06 kB / 0.5025 GB, free: 16.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/0.177, allocations: 0.7094 MB / 0.5032 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.177, allocations: 1.281 kB / 0.5032 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/0.177, allocations: 9.031 kB / 0.5032 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1771, allocations: 5.406 kB / 0.5032 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.1782, allocations: 1.07 MB / 0.5042 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.1796, allocations: 1.232 MB / 0.5054 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.1801, allocations: 334 kB / 0.5057 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.1804, allocations: 294 kB / 0.506 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.1805, allocations: 39.12 kB / 0.5061 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.194e-05/0.1806, allocations: 36.75 kB / 0.5061 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000627/0.1812, allocations: 271.4 kB / 0.5064 GB, free: 14.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.1812, allocations: 0 / 0.5064 GB, free: 14.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.00461/0.1858, allocations: 2.02 MB / 0.5083 GB, free: 14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.1858, allocations: 59.22 kB / 0.5084 GB, free: 13.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.186, allocations: 299.5 kB / 0.5087 GB, free: 13.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.1861, allocations: 31.11 kB / 0.5087 GB, free: 13.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.1861, allocations: 167 kB / 0.5089 GB, free: 13.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.1862, allocations: 107.2 kB / 0.509 GB, free: 13.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.1863, allocations: 90.3 kB / 0.5091 GB, free: 13.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.087e-05/0.1863, allocations: 344.8 kB / 0.5094 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.1866, allocations: 228.3 kB / 0.5096 GB, free: 13.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.1868, allocations: 232.3 kB / 0.5098 GB, free: 12.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.1874, allocations: 0.5071 MB / 0.5103 GB, free: 12.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1874, allocations: 4 kB / 0.5103 GB, free: 12.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001277/0.1887, allocations: 0.9132 MB / 0.5112 GB, free: 12.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1887, allocations: 5.812 kB / 0.5112 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1887, allocations: 0.7969 kB / 0.5112 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02423/0.2129, allocations: 4.24 MB / 0.5154 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.429e-05/0.213, allocations: 7.312 kB / 0.5154 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.2148, allocations: 1.515 MB / 0.5168 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.215, allocations: 5.531 kB / 0.5169 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.215, allocations: 32.22 kB / 0.5169 GB, free: 11.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(13,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.2152, allocations: 155.1 kB / 0.517 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.2152, allocations: 38.69 kB / 0.5171 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.2165, allocations: 1.052 MB / 0.5181 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/0.2165, allocations: 3.906 kB / 0.5181 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2165, allocations: 0.5156 kB / 0.5181 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2165, allocations: 7.016 kB / 0.5181 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.218, allocations: 1.592 MB / 0.5197 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.218, allocations: 0 / 0.5197 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.375e-05/0.218, allocations: 3.453 kB / 0.5197 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.2191, allocations: 0.7796 MB / 0.5204 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.2191, allocations: 12.8 kB / 0.5204 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.2204, allocations: 1.546 MB / 0.5219 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2204, allocations: 2.953 kB / 0.5219 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008081/0.2212, allocations: 0.9559 MB / 0.5229 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.2213, allocations: 78.28 kB / 0.523 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.2214, allocations: 9.734 kB / 0.523 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.2215, allocations: 9.094 kB / 0.523 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.2215, allocations: 22.8 kB / 0.523 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.2216, allocations: 19.33 kB / 0.523 GB, free: 8.062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.2217, allocations: 219.8 kB / 0.5232 GB, free: 7.945 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2217, allocations: 0 / 0.5232 GB, free: 7.945 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001119/0.2228, allocations: 0.5995 MB / 0.5238 GB, free: 7.746 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(13,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001171/0.224, allocations: 1.087 MB / 0.5249 GB, free: 7.328 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.2252, allocations: 0.709 MB / 0.5256 GB, free: 7.113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2252, allocations: 0 / 0.5256 GB, free: 7.113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000537/0.2258, allocations: 442.5 kB / 0.526 GB, free: 6.988 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.2264, allocations: 238 kB / 0.5262 GB, free: 6.938 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008481/0.2272, allocations: 0.9006 MB / 0.5271 GB, free: 6.438 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.2274, allocations: 204.2 kB / 0.5273 GB, free: 6.328 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.2274, allocations: 24.42 kB / 0.5273 GB, free: 6.316 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.2274, allocations: 1.312 kB / 0.5273 GB, free: 6.316 MB / 410.7 MB Notification: Performance of Templates: time 0.009968/0.2374, allocations: 14.24 MB / 0.5412 GB, free: 8.602 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.makefile [Timeout 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.MeanRespirationCalcHelperMain.o OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.MeanRespirationCalcHelperMain.cpp In file included from OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.MeanRespirationCalcHelperMain.cpp:8: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Modelica.h:233: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:910:14: error: array type 'std::basic_string[1]' is not assignable 910 | _array = otherarray._array; | ~~~~~~ ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1083:6: note: in instantiation of member function 'StatArray, 1>::StatArray' requested here 1083 | :StatArray(otherarray) | ^ ./OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.MeanRespirationTypes.h:9:8: note: in instantiation of member function 'StatArrayDim1, 1>::StatArrayDim1' requested here 9 | struct Chemical_Substances_CarbonDioxide__gasType | ^ 1 error generated. make: *** [: OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.MeanRespirationCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.7647475972771645] Failed to read output from testmodel.py, exit status != 0: 0.2423821398988366 0.25044888699999995 0.07415990800000001 Calling exit ...