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.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09213/0.09213, allocations: 15.52 MB / 32.54 MB, free: 3.457 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 107.5 kB / 39.78 MB, free: 1.113 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 200.9 kB / 47.14 MB, free: 2.48 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 280 MB, free: 15.57 MB / 222.1 MB " [Timeout remaining time 178] 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.1469/0.1469, allocations: 23.71 MB / 362.9 MB, free: 0.8359 MB / 270.1 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.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.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 0.003349/0.003349, allocations: 112.3 kB / 0.492 GB, free: 24.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.114, allocations: 62.64 MB / 0.5531 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.04384/0.1578, allocations: 35.04 MB / 0.5873 GB, free: 6.727 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2375/0.3953, allocations: 17.76 MB / 0.6047 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.3956, allocations: 6.094 kB / 0.6047 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.396, allocations: 116.1 kB / 0.6048 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003958/0.3999, allocations: 1.808 MB / 0.6066 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.4028, allocations: 1.302 MB / 0.6078 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005967/0.4034, allocations: 0.5595 MB / 0.6084 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007604/0.4042, allocations: 0.6752 MB / 0.609 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.4065, allocations: 1.245 MB / 0.6103 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008837/0.4073, allocations: 0.6499 MB / 0.6109 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.4074, allocations: 75.03 kB / 0.611 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005642/0.4131, allocations: 2.235 MB / 0.6132 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.4133, allocations: 274.6 kB / 0.6134 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003116/0.4137, allocations: 324.5 kB / 0.6137 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00467/0.4183, allocations: 2.805 MB / 0.6165 GB, free: 3.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4183, allocations: 3.938 kB / 0.6165 GB, free: 3.375 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4183, allocations: 4 kB / 0.6165 GB, free: 3.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.4183, allocations: 0 / 0.6165 GB, free: 3.371 MB / 430.1 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.002087/0.4204, allocations: 1.017 MB / 0.6175 GB, free: 2.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.4205, allocations: 10.11 kB / 0.6175 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.4207, allocations: 45.59 kB / 0.6175 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/0.4212, allocations: 440.2 kB / 0.6179 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.4213, allocations: 19.41 kB / 0.618 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.175e-05/0.4214, allocations: 22 kB / 0.618 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.4225, allocations: 0.7059 MB / 0.6187 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4225, allocations: 0 / 0.6187 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.932e-05/0.4226, allocations: 8.594 kB / 0.6187 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.4226, allocations: 10.56 kB / 0.6187 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.4243, allocations: 1.08 MB / 0.6197 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.4267, allocations: 1.502 MB / 0.6212 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.4273, allocations: 339 kB / 0.6215 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/0.4278, allocations: 292.2 kB / 0.6218 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/0.428, allocations: 119.5 kB / 0.6219 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.428, allocations: 41.31 kB / 0.622 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001318/0.4293, allocations: 269.1 kB / 0.6222 GB, free: 1.453 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.512e-06/0.4293, allocations: 0.7812 kB / 0.6222 GB, free: 1.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.009022/0.4384, allocations: 2.095 MB / 0.6243 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.4384, allocations: 54.41 kB / 0.6243 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.4387, allocations: 370.6 kB / 0.6247 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.4388, allocations: 29.7 kB / 0.6247 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.4388, allocations: 164.4 kB / 0.6249 GB, free: 440 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.811e-05/0.4389, allocations: 107.6 kB / 0.625 GB, free: 356 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.4391, allocations: 86.98 kB / 0.625 GB, free: 320 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.933e-05/0.4391, allocations: 351.7 kB / 0.6254 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/0.4396, allocations: 227.3 kB / 0.6256 GB, free: 15.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.4399, allocations: 231.5 kB / 0.6258 GB, free: 15.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008606/0.4408, allocations: 0.5153 MB / 0.6263 GB, free: 15.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4408, allocations: 0 / 0.6263 GB, free: 15.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002275/0.4431, allocations: 0.9124 MB / 0.6272 GB, free: 14.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.4431, allocations: 4.406 kB / 0.6272 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4431, allocations: 2.844 kB / 0.6272 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05304/0.4961, allocations: 4.173 MB / 0.6313 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.406e-05/0.4962, allocations: 4.594 kB / 0.6313 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.4995, allocations: 1.524 MB / 0.6328 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.4999, allocations: 8 kB / 0.6328 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.586e-05/0.5, allocations: 31.11 kB / 0.6328 GB, free: 12.02 MB / 446.1 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.0003428/0.5004, allocations: 160.4 kB / 0.633 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.5005, allocations: 39.95 kB / 0.633 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.5025, allocations: 1.069 MB / 0.6341 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.5026, allocations: 5.688 kB / 0.6341 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5026, allocations: 0 / 0.6341 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.5026, allocations: 3.984 kB / 0.6341 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/0.5052, allocations: 1.696 MB / 0.6357 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.5052, allocations: 3.75 kB / 0.6357 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.5052, allocations: 5.438 kB / 0.6357 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002136/0.5073, allocations: 0.778 MB / 0.6365 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.5074, allocations: 6.5 kB / 0.6365 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/0.5099, allocations: 1.552 MB / 0.638 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5099, allocations: 0 / 0.638 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.5115, allocations: 0.9552 MB / 0.6389 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.5117, allocations: 164.7 kB / 0.6391 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/0.5118, allocations: 11.94 kB / 0.6391 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.5121, allocations: 4.875 kB / 0.6391 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/0.5121, allocations: 19.97 kB / 0.6391 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.5122, allocations: 19.98 kB / 0.6392 GB, free: 7.012 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003369/0.5125, allocations: 267 kB / 0.6394 GB, free: 6.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5125, allocations: 0 / 0.6394 GB, free: 6.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001753/0.5143, allocations: 0.5875 MB / 0.64 GB, free: 6.16 MB / 446.1 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.001955/0.5162, allocations: 1.06 MB / 0.641 GB, free: 5.207 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002486/0.5187, allocations: 0.728 MB / 0.6417 GB, free: 4.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5187, allocations: 0 / 0.6417 GB, free: 4.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.5199, allocations: 439.1 kB / 0.6421 GB, free: 4.051 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.5213, allocations: 281.4 kB / 0.6424 GB, free: 3.789 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.5229, allocations: 0.9303 MB / 0.6433 GB, free: 2.828 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.5234, allocations: 0.8002 MB / 0.6441 GB, free: 2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.5234, allocations: 23.44 kB / 0.6441 GB, free: 1.977 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.5234, allocations: 0 / 0.6441 GB, free: 1.977 MB / 446.1 MB Notification: Performance of Templates: time 0.02122/0.5446, allocations: 14.49 MB / 0.6583 GB, free: 3.543 MB / 462.1 MB " [Timeout remaining time 659] 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 -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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Modelica.h:206: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:883:14: error: array type 'std::basic_string[1]' is not assignable _array = otherarray._array; ~~~~~~ ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1056:6: note: in instantiation of member function 'StatArray, 1, false>::StatArray' requested here :StatArray(otherarray) ^ ./OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.MeanRespirationTypes.h:9:8: note: in instantiation of member function 'StatArrayDim1, 1, false>::StatArrayDim1' requested here struct Chemical_Substances_CarbonDioxide__gasType ^ 1 error generated. make: *** [: OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.MeanRespirationCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.675903263967484] Failed to read output from testmodel.py, exit status != 0: 0.5516476780176163 0.566154521 0.144800126 Calling exit ...