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.07738/0.07738, allocations: 15.28 MB / 31.54 MB, free: 4.156 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.001002/0.001002, allocations: 101.1 kB / 36.54 MB, free: 3.203 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.001135/0.001135, allocations: 198.5 kB / 41.65 MB, free: 7.16 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.372/1.372, allocations: 222.9 MB / 269.5 MB, free: 6.832 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1261/0.1261, allocations: 23.35 MB / 347.2 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 111.8 kB / 479.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3097, allocations: 59.35 MB / 0.5262 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.03657/0.3463, allocations: 34.9 MB / 0.5603 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01841/0.3647, allocations: 17.71 MB / 0.5776 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.3651, allocations: 5.312 kB / 0.5776 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.3656, allocations: 109.4 kB / 0.5777 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004595/0.3702, allocations: 1.795 MB / 0.5794 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003491/0.3737, allocations: 1.285 MB / 0.5807 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007951/0.3746, allocations: 0.5641 MB / 0.5812 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008732/0.3754, allocations: 0.7215 MB / 0.5819 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.378, allocations: 1.215 MB / 0.5831 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008798/0.3789, allocations: 0.5728 MB / 0.5837 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.3791, allocations: 68 kB / 0.5838 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00562/0.3847, allocations: 2.14 MB / 0.5858 GB, free: 7.238 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.385, allocations: 243.4 kB / 0.5861 GB, free: 7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004798/0.3855, allocations: 306.9 kB / 0.5864 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005885/0.3914, allocations: 2.726 MB / 0.589 GB, free: 3.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3915, allocations: 0 / 0.589 GB, free: 3.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3915, allocations: 0 / 0.589 GB, free: 3.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.3915, allocations: 0 / 0.589 GB, free: 3.965 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.002433/0.3939, allocations: 1.056 MB / 0.5901 GB, free: 2.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.394, allocations: 16.02 kB / 0.5901 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.3941, allocations: 35.62 kB / 0.5901 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007886/0.3949, allocations: 425.7 kB / 0.5905 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.395, allocations: 12.56 kB / 0.5905 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/0.3951, allocations: 27.94 kB / 0.5906 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.3961, allocations: 0.598 MB / 0.5911 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3961, allocations: 4 kB / 0.5911 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.3962, allocations: 12 kB / 0.5912 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3962, allocations: 4 kB / 0.5912 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.3977, allocations: 0.8727 MB / 0.592 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.4003, allocations: 1.453 MB / 0.5934 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.401, allocations: 342.6 kB / 0.5938 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.4015, allocations: 300.7 kB / 0.594 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/0.4017, allocations: 113.6 kB / 0.5941 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.4018, allocations: 30.56 kB / 0.5942 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000816/0.4026, allocations: 171.6 kB / 0.5943 GB, free: 14.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.4026, allocations: 0 / 0.5943 GB, free: 14.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.00943/0.412, allocations: 2.134 MB / 0.5964 GB, free: 12.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.4121, allocations: 59.34 kB / 0.5965 GB, free: 12.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.4125, allocations: 364.5 kB / 0.5968 GB, free: 11.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.006e-05/0.4126, allocations: 37.7 kB / 0.5969 GB, free: 11.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.4127, allocations: 156.7 kB / 0.597 GB, free: 11.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.4129, allocations: 102.4 kB / 0.5971 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.413, allocations: 89.62 kB / 0.5972 GB, free: 11.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4132, allocations: 346.8 kB / 0.5975 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/0.4136, allocations: 227.9 kB / 0.5977 GB, free: 10.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.414, allocations: 232.9 kB / 0.598 GB, free: 10.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008927/0.4149, allocations: 0.5128 MB / 0.5985 GB, free: 10 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4149, allocations: 4 kB / 0.5985 GB, free: 10 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00227/0.4172, allocations: 0.9506 MB / 0.5994 GB, free: 9.039 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4172, allocations: 4 kB / 0.5994 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4173, allocations: 0 / 0.5994 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05261/0.4699, allocations: 4.167 MB / 0.6035 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.53e-05/0.47, allocations: 8 kB / 0.6035 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/0.4732, allocations: 1.52 MB / 0.605 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.4735, allocations: 12 kB / 0.605 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.4736, allocations: 27.95 kB / 0.605 GB, free: 3.266 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.0002578/0.4739, allocations: 161.8 kB / 0.6052 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.474, allocations: 31.62 kB / 0.6052 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.4761, allocations: 1.096 MB / 0.6063 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.4761, allocations: 4 kB / 0.6063 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4761, allocations: 0 / 0.6063 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4761, allocations: 3.984 kB / 0.6063 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.4786, allocations: 1.76 MB / 0.608 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4787, allocations: 0 / 0.608 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.4787, allocations: 4 kB / 0.608 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/0.4808, allocations: 0.7924 MB / 0.6088 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.4809, allocations: 11.98 kB / 0.6088 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/0.4832, allocations: 1.534 MB / 0.6103 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4832, allocations: 0 / 0.6103 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.4847, allocations: 0.9962 MB / 0.6112 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.4849, allocations: 156.6 kB / 0.6114 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.611e-05/0.485, allocations: 4 kB / 0.6114 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.4853, allocations: 12 kB / 0.6114 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.4854, allocations: 23.89 kB / 0.6114 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.4854, allocations: 16 kB / 0.6114 GB, free: 12.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002627/0.4857, allocations: 263 kB / 0.6117 GB, free: 12.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4857, allocations: 0 / 0.6117 GB, free: 12.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001389/0.4871, allocations: 0.5854 MB / 0.6123 GB, free: 11.66 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.002049/0.4891, allocations: 1.047 MB / 0.6133 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002308/0.4914, allocations: 0.7476 MB / 0.614 GB, free: 9.867 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4915, allocations: 0 / 0.614 GB, free: 9.867 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.4926, allocations: 475.4 kB / 0.6145 GB, free: 9.402 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.494, allocations: 283.6 kB / 0.6147 GB, free: 9.137 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.4954, allocations: 0.9228 MB / 0.6156 GB, free: 8.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.4958, allocations: 0.8041 MB / 0.6164 GB, free: 7.348 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.4959, allocations: 23.42 kB / 0.6165 GB, free: 7.324 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4959, allocations: 4 kB / 0.6165 GB, free: 7.32 MB / 462.1 MB Notification: Performance of Templates: time 0.02076/0.5166, allocations: 14.43 MB / 0.6306 GB, free: 8.957 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