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.1168/0.1168, allocations: 15.28 MB / 31.58 MB, free: 4.027 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.0009686/0.0009686, allocations: 97.69 kB / 36.58 MB, free: 3.227 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.001117/0.001117, allocations: 194.1 kB / 41.69 MB, free: 7.125 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.47/1.47, allocations: 222.9 MB / 269.6 MB, free: 6.922 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1543/0.1543, allocations: 23.35 MB / 347.2 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 107.8 kB / 480.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3806, allocations: 59.36 MB / 0.5274 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.06649/0.4472, allocations: 59.23 MB / 0.5852 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03625/0.4835, allocations: 28.06 MB / 0.6126 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.4847, allocations: 15.94 kB / 0.6127 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001782/0.4866, allocations: 437.1 kB / 0.6131 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008503/0.4951, allocations: 2.681 MB / 0.6157 GB, free: 9.293 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01185/0.507, allocations: 3.604 MB / 0.6192 GB, free: 5.668 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003354/0.5104, allocations: 1.906 MB / 0.6211 GB, free: 3.758 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.5123, allocations: 1.017 MB / 0.6221 GB, free: 2.711 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006909/0.5193, allocations: 3.022 MB / 0.625 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00475/0.524, allocations: 1.367 MB / 0.6264 GB, free: 14.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004983/0.5246, allocations: 128 kB / 0.6265 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0122/0.5368, allocations: 4.016 MB / 0.6304 GB, free: 10.26 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000968/0.5378, allocations: 0.5416 MB / 0.6309 GB, free: 9.715 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001772/0.5396, allocations: 0.7469 MB / 0.6317 GB, free: 8.965 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01578/0.5554, allocations: 5.514 MB / 0.637 GB, free: 3.434 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.5554, allocations: 4 kB / 0.637 GB, free: 3.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5554, allocations: 0 / 0.637 GB, free: 3.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.062e-05/0.5555, allocations: 0 / 0.637 GB, free: 3.43 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.006032/0.5615, allocations: 2.104 MB / 0.6391 GB, free: 1.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.5616, allocations: 12.03 kB / 0.6391 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.5631, allocations: 278.2 kB / 0.6394 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.565, allocations: 0.7709 MB / 0.6401 GB, free: 172 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.16e-05/0.5651, allocations: 74 kB / 0.6402 GB, free: 100 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/0.5654, allocations: 104 kB / 0.6403 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003416/0.5689, allocations: 1.811 MB / 0.6421 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.5689, allocations: 0 / 0.6421 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.5691, allocations: 44 kB / 0.6421 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002383/0.5693, allocations: 73.95 kB / 0.6422 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003947/0.5733, allocations: 2.252 MB / 0.6444 GB, free: 11.74 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.01123/0.5845, allocations: 6.36 MB / 0.6506 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/0.5872, allocations: 1.285 MB / 0.6518 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.5883, allocations: 0.6949 MB / 0.6525 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006236/0.5946, allocations: 3.565 MB / 0.656 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.5946, allocations: 43.55 kB / 0.656 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006198/0.5953, allocations: 114.9 kB / 0.6562 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 4.368e-06/0.5953, allocations: 3.938 kB / 0.6562 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.005849/0.6011, allocations: 2.549 MB / 0.6586 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.6012, allocations: 64.34 kB / 0.6587 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.6024, allocations: 0.7659 MB / 0.6595 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.132e-05/0.6025, allocations: 41.7 kB / 0.6595 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/0.603, allocations: 0.495 MB / 0.66 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/0.6033, allocations: 347 kB / 0.6603 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000433/0.6038, allocations: 250.7 kB / 0.6605 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002787/0.604, allocations: 406.7 kB / 0.6609 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.6051, allocations: 0.635 MB / 0.6616 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.6064, allocations: 0.942 MB / 0.6625 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002613/0.6091, allocations: 1.662 MB / 0.6641 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.6091, allocations: 4 kB / 0.6641 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003539/0.6126, allocations: 1.865 MB / 0.6659 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.6127, allocations: 19.88 kB / 0.6659 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.6127, allocations: 12.09 kB / 0.666 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.6142, allocations: 289.4 kB / 0.6662 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.6153, allocations: 283.6 kB / 0.6665 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.6166, allocations: 1.237 MB / 0.6677 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009148/0.6175, allocations: 47.88 kB / 0.6678 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/0.6178, allocations: 79.97 kB / 0.6678 GB, free: 2.852 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.0007072/0.6185, allocations: 325.6 kB / 0.6681 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003343/0.6188, allocations: 90.88 kB / 0.6682 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004814/0.6237, allocations: 2.427 MB / 0.6706 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002891/0.6266, allocations: 1.488 MB / 0.6721 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.6266, allocations: 3.938 kB / 0.6721 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.6266, allocations: 3.984 kB / 0.6721 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006312/0.633, allocations: 3.136 MB / 0.6751 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.633, allocations: 3.938 kB / 0.6751 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/0.6338, allocations: 187.8 kB / 0.6753 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.6352, allocations: 285.4 kB / 0.6756 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.6354, allocations: 39.92 kB / 0.6756 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.6364, allocations: 1.198 MB / 0.6768 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.6364, allocations: 7.922 kB / 0.6768 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00481/0.6412, allocations: 2.627 MB / 0.6794 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008332/0.6421, allocations: 299.7 kB / 0.6796 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.6424, allocations: 16 kB / 0.6797 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006973/0.6431, allocations: 31.92 kB / 0.6797 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.6433, allocations: 72.91 kB / 0.6798 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.6434, allocations: 51.97 kB / 0.6798 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001003/0.6445, allocations: 0.6044 MB / 0.6804 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6445, allocations: 7.938 kB / 0.6804 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00376/0.6482, allocations: 1.248 MB / 0.6816 GB, free: 4.492 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.004972/0.6532, allocations: 1.856 MB / 0.6834 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00348/0.6567, allocations: 1.655 MB / 0.6851 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.6568, allocations: 1.438 kB / 0.6851 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.6582, allocations: 0.8311 MB / 0.6859 GB, free: 148 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/0.6609, allocations: 484.3 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.005159/0.6661, allocations: 2.774 MB / 0.689 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009889/0.6671, allocations: 1.133 MB / 0.6901 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007867/0.6679, allocations: 264.6 kB / 0.6904 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/0.668, allocations: 0 / 0.6904 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.06157/0.7295, allocations: 40.39 MB / 0.7298 GB, free: 3.273 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