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) 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.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09241/0.09241, allocations: 15.28 MB / 31.58 MB, free: 4.137 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.001139/0.00114, allocations: 104.8 kB / 36.58 MB, free: 3.18 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.001288/0.001288, allocations: 191.3 kB / 41.69 MB, free: 7.145 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.482/1.482, allocations: 222.9 MB / 269.6 MB, free: 6.918 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1462/0.1462, allocations: 23.36 MB / 347.2 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003824/0.003824, allocations: 112.1 kB / 479.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3616, allocations: 59.35 MB / 0.5263 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.03687/0.3985, allocations: 34.9 MB / 0.5603 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01974/0.4183, allocations: 17.71 MB / 0.5776 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003538/0.4187, allocations: 3.531 kB / 0.5776 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.4193, allocations: 111.7 kB / 0.5777 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004476/0.4238, allocations: 1.788 MB / 0.5795 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.4271, allocations: 1.289 MB / 0.5807 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008117/0.4279, allocations: 0.5602 MB / 0.5813 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008926/0.4288, allocations: 0.7254 MB / 0.582 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.4313, allocations: 1.219 MB / 0.5832 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009611/0.4323, allocations: 0.5689 MB / 0.5837 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.4325, allocations: 64 kB / 0.5838 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004707/0.4372, allocations: 2.14 MB / 0.5859 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.4375, allocations: 243.4 kB / 0.5861 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004098/0.4379, allocations: 306.9 kB / 0.5864 GB, free: 6.828 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004925/0.4428, allocations: 2.738 MB / 0.5891 GB, free: 4.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4429, allocations: 0 / 0.5891 GB, free: 4.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4429, allocations: 0 / 0.5891 GB, free: 4.082 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.4429, allocations: 0 / 0.5891 GB, free: 4.082 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.00242/0.4453, allocations: 1.052 MB / 0.5901 GB, free: 2.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.4454, allocations: 8.031 kB / 0.5901 GB, free: 2.973 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.4456, allocations: 39.62 kB / 0.5902 GB, free: 2.934 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006763/0.4463, allocations: 421.8 kB / 0.5906 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.4463, allocations: 16.56 kB / 0.5906 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.4464, allocations: 27.94 kB / 0.5906 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.4475, allocations: 0.6019 MB / 0.5912 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4475, allocations: 4 kB / 0.5912 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.773e-05/0.4476, allocations: 12 kB / 0.5912 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4476, allocations: 4 kB / 0.5912 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.449, allocations: 0.8688 MB / 0.5921 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.4518, allocations: 1.456 MB / 0.5935 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/0.4525, allocations: 338.6 kB / 0.5938 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005001/0.453, allocations: 296.7 kB / 0.5941 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/0.4532, allocations: 113.6 kB / 0.5942 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.4533, allocations: 38.5 kB / 0.5942 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007931/0.4541, allocations: 167.6 kB / 0.5944 GB, free: 14.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.254e-06/0.4541, allocations: 0 / 0.5944 GB, free: 14.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.009161/0.4632, allocations: 2.134 MB / 0.5965 GB, free: 12.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.4633, allocations: 55.34 kB / 0.5965 GB, free: 12.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.4637, allocations: 364.5 kB / 0.5969 GB, free: 11.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.4638, allocations: 29.7 kB / 0.5969 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.4639, allocations: 168.6 kB / 0.5971 GB, free: 11.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.4e-05/0.464, allocations: 106.4 kB / 0.5972 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.4642, allocations: 85.62 kB / 0.5973 GB, free: 11.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4643, allocations: 346.8 kB / 0.5976 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.4647, allocations: 231.9 kB / 0.5978 GB, free: 10.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.4651, allocations: 232.9 kB / 0.598 GB, free: 10.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008648/0.466, allocations: 0.5089 MB / 0.5985 GB, free: 10.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.466, allocations: 7.938 kB / 0.5985 GB, free: 10.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00218/0.4682, allocations: 0.9467 MB / 0.5995 GB, free: 9.164 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4682, allocations: 12 kB / 0.5995 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4683, allocations: 0 / 0.5995 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05107/0.5193, allocations: 4.163 MB / 0.6035 GB, free: 4.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.767e-05/0.5194, allocations: 0 / 0.6035 GB, free: 4.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.5225, allocations: 1.52 MB / 0.605 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.5229, allocations: 4 kB / 0.605 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.523, allocations: 35.95 kB / 0.6051 GB, free: 3.395 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.0002035/0.5232, allocations: 165.7 kB / 0.6052 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.5233, allocations: 35.62 kB / 0.6053 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/0.5253, allocations: 1.092 MB / 0.6063 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.5253, allocations: 8 kB / 0.6063 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5253, allocations: 0 / 0.6063 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/0.5254, allocations: 7.984 kB / 0.6063 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/0.5279, allocations: 1.752 MB / 0.608 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.528, allocations: 3.938 kB / 0.608 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.857e-05/0.528, allocations: 0 / 0.608 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002116/0.5301, allocations: 0.7849 MB / 0.6088 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.5302, allocations: 15.98 kB / 0.6088 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002304/0.5325, allocations: 1.537 MB / 0.6103 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.5325, allocations: 0 / 0.6103 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.5341, allocations: 0.9881 MB / 0.6113 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.5343, allocations: 156.6 kB / 0.6114 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.5344, allocations: 12 kB / 0.6115 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.5347, allocations: 4 kB / 0.6115 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/0.5348, allocations: 31.89 kB / 0.6115 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.5348, allocations: 12 kB / 0.6115 GB, free: 12.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003325/0.5352, allocations: 267 kB / 0.6118 GB, free: 12.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5352, allocations: 0 / 0.6118 GB, free: 12.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001624/0.5368, allocations: 0.5737 MB / 0.6123 GB, free: 11.8 MB / 462.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.002404/0.5392, allocations: 1.046 MB / 0.6133 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002304/0.5415, allocations: 0.7542 MB / 0.6141 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5416, allocations: 4 kB / 0.6141 GB, free: 9.996 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.5427, allocations: 475.4 kB / 0.6145 GB, free: 9.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.5441, allocations: 291.8 kB / 0.6148 GB, free: 9.258 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.5456, allocations: 0.9111 MB / 0.6157 GB, free: 8.312 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.546, allocations: 0.8002 MB / 0.6165 GB, free: 7.484 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.5461, allocations: 23.44 kB / 0.6165 GB, free: 7.461 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5461, allocations: 4 kB / 0.6165 GB, free: 7.457 MB / 462.1 MB Notification: Performance of Templates: time 0.0213/0.5674, allocations: 14.52 MB / 0.6307 GB, free: 9 MB / 478.1 MB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.makefile 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/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.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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Modelica.h:206: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/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