Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.548/4.548, allocations: 433 MB / 440.3 MB, free: 24.7 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2973/4.845, allocations: 104.3 MB / 0.5319 GB, free: 4.523 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5925/5.438, allocations: 98.68 MB / 0.6283 GB, free: 0.6719 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.959/11.4, allocations: 2.183 GB / 2.811 GB, free: 229.9 MB / 0.8152 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/11.4, allocations: 85.23 kB / 2.811 GB, free: 229.9 MB / 0.8152 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.2557/11.65, allocations: 65.63 MB / 2.876 GB, free: 195.8 MB / 0.8152 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/11.65, allocations: 12 kB / 2.876 GB, free: 195.8 MB / 0.8152 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/11.65, allocations: 83.69 kB / 2.876 GB, free: 195.7 MB / 0.8152 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/11.65, allocations: 214.2 kB / 2.876 GB, free: 195.5 MB / 0.8152 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/11.65, allocations: 0 / 2.876 GB, free: 195.5 MB / 0.8152 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/11.65, allocations: 7.984 kB / 2.876 GB, free: 195.5 MB / 0.8152 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002852/11.66, allocations: 73 kB / 2.876 GB, free: 195.4 MB / 0.8152 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/11.66, allocations: 95.69 kB / 2.876 GB, free: 195.4 MB / 0.8152 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/11.66, allocations: 0 / 2.876 GB, free: 195.4 MB / 0.8152 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/11.66, allocations: 0 / 2.876 GB, free: 195.4 MB / 0.8152 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/11.66, allocations: 8 kB / 2.876 GB, free: 195.4 MB / 0.8152 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/11.66, allocations: 371.5 kB / 2.876 GB, free: 195 MB / 0.8152 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/11.66, allocations: 195.7 kB / 2.877 GB, free: 194.8 MB / 0.8152 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/11.66, allocations: 47.34 kB / 2.877 GB, free: 194.8 MB / 0.8152 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/11.66, allocations: 4 kB / 2.877 GB, free: 194.8 MB / 0.8152 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/11.66, allocations: 34.38 kB / 2.877 GB, free: 194.7 MB / 0.8152 GB Notification: Performance of pre-optimization done (n=8): time 2.725e-06/11.66, allocations: 0 / 2.877 GB, free: 194.7 MB / 0.8152 GB Notification: Performance of matching and sorting (n=8): time 0.0003595/11.66, allocations: 99.78 kB / 2.877 GB, free: 194.6 MB / 0.8152 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/11.66, allocations: 55.41 kB / 2.877 GB, free: 194.6 MB / 0.8152 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/11.66, allocations: 123.1 kB / 2.877 GB, free: 194.5 MB / 0.8152 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/11.66, allocations: 25.7 kB / 2.877 GB, free: 194.4 MB / 0.8152 GB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/11.66, allocations: 99.47 kB / 2.877 GB, free: 194.3 MB / 0.8152 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/11.66, allocations: 27.72 kB / 2.877 GB, free: 194.3 MB / 0.8152 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/11.66, allocations: 0 / 2.877 GB, free: 194.3 MB / 0.8152 GB Notification: Performance of setup shared object (initialization): time 6.475e-05/11.66, allocations: 322.1 kB / 2.877 GB, free: 194 MB / 0.8152 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/11.66, allocations: 19.81 kB / 2.877 GB, free: 194 MB / 0.8152 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/11.66, allocations: 56.47 kB / 2.877 GB, free: 193.9 MB / 0.8152 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/11.66, allocations: 26.72 kB / 2.877 GB, free: 193.9 MB / 0.8152 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/11.66, allocations: 3.906 kB / 2.877 GB, free: 193.9 MB / 0.8152 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004168/11.66, allocations: 98.83 kB / 2.878 GB, free: 193.8 MB / 0.8152 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/11.66, allocations: 8 kB / 2.878 GB, free: 193.8 MB / 0.8152 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/11.66, allocations: 0 / 2.878 GB, free: 193.8 MB / 0.8152 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/11.66, allocations: 3.938 kB / 2.878 GB, free: 193.8 MB / 0.8152 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/11.66, allocations: 47.3 kB / 2.878 GB, free: 193.8 MB / 0.8152 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/11.66, allocations: 0 / 2.878 GB, free: 193.8 MB / 0.8152 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/11.66, allocations: 27.92 kB / 2.878 GB, free: 193.7 MB / 0.8152 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/11.66, allocations: 7.938 kB / 2.878 GB, free: 193.7 MB / 0.8152 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/11.66, allocations: 108.2 kB / 2.878 GB, free: 193.6 MB / 0.8152 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/11.66, allocations: 7.906 kB / 2.878 GB, free: 193.6 MB / 0.8152 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/11.66, allocations: 23.61 kB / 2.878 GB, free: 193.6 MB / 0.8152 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/11.66, allocations: 0 / 2.878 GB, free: 193.6 MB / 0.8152 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/11.66, allocations: 0 / 2.878 GB, free: 193.6 MB / 0.8152 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/11.66, allocations: 0 / 2.878 GB, free: 193.6 MB / 0.8152 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/11.66, allocations: 373 kB / 2.878 GB, free: 193.2 MB / 0.8152 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/11.66, allocations: 3.906 kB / 2.878 GB, free: 193.2 MB / 0.8152 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/11.66, allocations: 43.66 kB / 2.878 GB, free: 193.2 MB / 0.8152 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/11.66, allocations: 0 / 2.878 GB, free: 193.2 MB / 0.8152 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/11.66, allocations: 3.984 kB / 2.878 GB, free: 193.2 MB / 0.8152 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/11.66, allocations: 0 / 2.878 GB, free: 193.2 MB / 0.8152 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/11.66, allocations: 0 / 2.878 GB, free: 193.2 MB / 0.8152 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000313/11.66, allocations: 192.9 kB / 2.878 GB, free: 193 MB / 0.8152 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004395/11.66, allocations: 0.5899 MB / 2.879 GB, free: 192.4 MB / 0.8152 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/11.66, allocations: 85.02 kB / 2.879 GB, free: 192.3 MB / 0.8152 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/11.66, allocations: 0 / 2.879 GB, free: 192.3 MB / 0.8152 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/11.66, allocations: 31.88 kB / 2.879 GB, free: 192.3 MB / 0.8152 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/11.66, allocations: 7.984 kB / 2.879 GB, free: 192.3 MB / 0.8152 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/11.66, allocations: 0 / 2.879 GB, free: 192.3 MB / 0.8152 GB Notification: Performance of sort global known variables: time 7.09e-05/11.66, allocations: 98.58 kB / 2.879 GB, free: 192.2 MB / 0.8152 GB Notification: Performance of remove unused functions: time 0.00148/11.67, allocations: 123.4 kB / 2.879 GB, free: 192.1 MB / 0.8152 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001228/11.67, allocations: 0.7381 MB / 2.88 GB, free: 191.4 MB / 0.8152 GB Notification: Performance of simCode: created initialization part: time 0.0003163/11.67, allocations: 73.66 kB / 2.88 GB, free: 191.4 MB / 0.8152 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/11.67, allocations: 0 / 2.88 GB, free: 191.4 MB / 0.8152 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/11.67, allocations: 35.11 kB / 2.88 GB, free: 191.3 MB / 0.8152 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/11.67, allocations: 30.5 kB / 2.88 GB, free: 191.3 MB / 0.8152 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007598/11.67, allocations: 161.5 kB / 2.88 GB, free: 191.1 MB / 0.8152 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/11.67, allocations: 0.7308 MB / 2.881 GB, free: 190.4 MB / 0.8152 GB Notification: Performance of SimCode: time 1.253e-06/11.67, allocations: 0 / 2.881 GB, free: 190.4 MB / 0.8152 GB