Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.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.AirWaterSaturation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation") translateModel(Physiolibrary.Fluid.Examples.AirWaterSaturation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09576/0.09576, 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.001104/0.001104, allocations: 104.9 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.001312/0.001312, 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.447/1.447, allocations: 222.9 MB / 269.5 MB, free: 6.848 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1507/0.1507, allocations: 23.35 MB / 347.2 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002826, allocations: 115.8 kB / 480.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4323, allocations: 59.35 MB / 0.5274 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.06866/0.5011, allocations: 59.22 MB / 0.5852 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03145/0.5325, allocations: 28.06 MB / 0.6126 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.534, allocations: 15.94 kB / 0.6127 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.5357, allocations: 433.1 kB / 0.6131 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008825/0.5445, allocations: 2.681 MB / 0.6157 GB, free: 9.293 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01214/0.5567, allocations: 3.607 MB / 0.6192 GB, free: 5.664 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003469/0.5602, allocations: 1.906 MB / 0.6211 GB, free: 3.754 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.5618, allocations: 1.021 MB / 0.6221 GB, free: 2.703 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00654/0.5684, allocations: 3.014 MB / 0.625 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004681/0.5731, allocations: 1.37 MB / 0.6263 GB, free: 14.4 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005337/0.5736, allocations: 128 kB / 0.6265 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/0.5884, allocations: 4.016 MB / 0.6304 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.5895, allocations: 0.5377 MB / 0.6309 GB, free: 9.715 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.5906, allocations: 0.7431 MB / 0.6316 GB, free: 8.969 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01697/0.6076, allocations: 5.518 MB / 0.637 GB, free: 3.434 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.6076, allocations: 0 / 0.637 GB, free: 3.434 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.634e-06/0.6076, allocations: 0 / 0.637 GB, free: 3.434 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.724e-05/0.6077, allocations: 0 / 0.637 GB, free: 3.434 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.004685/0.6124, allocations: 2.108 MB / 0.6391 GB, free: 1.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.6124, allocations: 8.031 kB / 0.6391 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.6137, allocations: 294.2 kB / 0.6394 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.6152, allocations: 0.7709 MB / 0.6401 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-05/0.6153, allocations: 74 kB / 0.6402 GB, free: 88 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.6155, allocations: 99.98 kB / 0.6403 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.6182, allocations: 1.811 MB / 0.6421 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.6183, allocations: 0 / 0.6421 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.6184, allocations: 40 kB / 0.6421 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/0.6186, allocations: 81.94 kB / 0.6422 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/0.6221, allocations: 2.252 MB / 0.6444 GB, free: 11.73 MB / 494.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.009481/0.6316, allocations: 6.349 MB / 0.6506 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.634, allocations: 1.289 MB / 0.6518 GB, free: 3.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009815/0.635, allocations: 0.6949 MB / 0.6525 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005444/0.6404, allocations: 3.569 MB / 0.656 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.6405, allocations: 35.56 kB / 0.656 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005709/0.641, allocations: 118.9 kB / 0.6561 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 5.15e-06/0.6411, allocations: 0 / 0.6561 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.005254/0.6463, allocations: 2.556 MB / 0.6586 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.6464, allocations: 64.34 kB / 0.6587 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.6474, allocations: 0.766 MB / 0.6595 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.06e-05/0.6475, allocations: 33.7 kB / 0.6595 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.6479, allocations: 0.4989 MB / 0.66 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.6482, allocations: 343 kB / 0.6603 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003899/0.6486, allocations: 254.7 kB / 0.6605 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002329/0.6488, allocations: 406.7 kB / 0.6609 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009817/0.6498, allocations: 0.6389 MB / 0.6616 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.6511, allocations: 0.9381 MB / 0.6625 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002307/0.6534, allocations: 1.662 MB / 0.6641 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6534, allocations: 4 kB / 0.6641 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003033/0.6565, allocations: 1.86 MB / 0.6659 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.6565, allocations: 11.94 kB / 0.6659 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.6565, allocations: 15.94 kB / 0.6659 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.658, allocations: 301.9 kB / 0.6662 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.6591, allocations: 287.6 kB / 0.6665 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.6603, allocations: 1.237 MB / 0.6677 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008843/0.6612, allocations: 43.89 kB / 0.6678 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.6613, allocations: 83.95 kB / 0.6678 GB, free: 2.84 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000562/0.6619, allocations: 321.4 kB / 0.6681 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.6621, allocations: 86.88 kB / 0.6682 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004171/0.6663, allocations: 2.431 MB / 0.6706 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002698/0.669, allocations: 1.492 MB / 0.6721 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.669, allocations: 3.938 kB / 0.6721 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.669, allocations: 3.984 kB / 0.6721 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/0.6744, allocations: 3.12 MB / 0.6751 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.6744, allocations: 11.92 kB / 0.6751 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/0.6751, allocations: 183.7 kB / 0.6753 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.6765, allocations: 281.5 kB / 0.6756 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.988e-05/0.6766, allocations: 47.91 kB / 0.6756 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009231/0.6775, allocations: 1.202 MB / 0.6768 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6775, allocations: 3.938 kB / 0.6768 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004376/0.6819, allocations: 2.623 MB / 0.6794 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006806/0.6826, allocations: 299.7 kB / 0.6796 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.6828, allocations: 20 kB / 0.6797 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005366/0.6833, allocations: 27.98 kB / 0.6797 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.6835, allocations: 80.83 kB / 0.6798 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.042e-05/0.6836, allocations: 43.98 kB / 0.6798 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008489/0.6844, allocations: 0.6161 MB / 0.6804 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.463e-06/0.6844, allocations: 0 / 0.6804 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003219/0.6877, allocations: 1.252 MB / 0.6816 GB, free: 4.484 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (upperRespiratoryTract.chemicalSolution.substanceMasses[1],upperRespiratoryTract.chemicalSolution.substanceMasses[2],upperRespiratoryTract.chemicalSolution.substanceMasses[3],upperRespiratoryTract.chemicalSolution.substanceMasses[4],upperRespiratoryTract.enthalpy) * 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 (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003508/0.6912, allocations: 1.852 MB / 0.6834 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00284/0.694, allocations: 1.663 MB / 0.6851 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.6941, allocations: 3.938 kB / 0.6851 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.6952, allocations: 0.8232 MB / 0.6859 GB, free: 144 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.6974, allocations: 487.7 kB / 0.6863 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.7017, allocations: 2.772 MB / 0.689 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007345/0.7024, allocations: 1.141 MB / 0.6902 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006223/0.703, allocations: 253.7 kB / 0.6904 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/0.7031, allocations: 4 kB / 0.6904 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.05302/0.7561, allocations: 40.39 MB / 0.7298 GB, free: 3.266 MB / 0.5606 GB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.makefile make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.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.AirWaterSaturationCalcHelperMain.o OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturationCalcHelperMain.cpp In file included from OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturationCalcHelperMain.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.AirWaterSaturationTypes.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.AirWaterSaturationCalcHelperMain.o] Error 1