Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.299/1.299, allocations: 249.4 MB / 256.7 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 185.2 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.2 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009022/0.0009022, allocations: 87.33 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.372/0.3729, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.5494, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5186/1.068, allocations: 159.1 MB / 1.04 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.068, allocations: 66.91 kB / 1.04 GB, free: 11.41 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.005711/1.074, allocations: 2.224 MB / 1.042 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.074, allocations: 8 kB / 1.042 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/1.074, allocations: 7.906 kB / 1.042 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/1.074, allocations: 171.7 kB / 1.042 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/1.074, allocations: 0 / 1.042 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/1.074, allocations: 8 kB / 1.042 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.817e-05/1.074, allocations: 20.88 kB / 1.042 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.123e-05/1.075, allocations: 49.42 kB / 1.043 GB, free: 9.148 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/1.075, allocations: 0 / 1.043 GB, free: 9.148 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/1.075, allocations: 4 kB / 1.043 GB, free: 9.145 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.075, allocations: 0 / 1.043 GB, free: 9.145 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/1.075, allocations: 257.3 kB / 1.043 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 7.64e-05/1.075, allocations: 33.45 kB / 1.043 GB, free: 8.836 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/1.075, allocations: 20.16 kB / 1.043 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/1.075, allocations: 93.09 kB / 1.043 GB, free: 8.707 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/1.075, allocations: 34.5 kB / 1.043 GB, free: 8.664 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/1.075, allocations: 0 / 1.043 GB, free: 8.664 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002186/1.076, allocations: 55.81 kB / 1.043 GB, free: 8.609 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/1.076, allocations: 51.41 kB / 1.043 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.217e-05/1.076, allocations: 104.6 kB / 1.043 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/1.076, allocations: 28.44 kB / 1.043 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/1.076, allocations: 91.98 kB / 1.043 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/1.076, allocations: 7.891 kB / 1.043 GB, free: 8.312 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.076, allocations: 0 / 1.043 GB, free: 8.312 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000112/1.076, allocations: 318.3 kB / 1.044 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/1.076, allocations: 7.312 kB / 1.044 GB, free: 7.992 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/1.076, allocations: 11.62 kB / 1.044 GB, free: 7.984 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.946e-05/1.076, allocations: 15.05 kB / 1.044 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/1.076, allocations: 0 / 1.044 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001126/1.076, allocations: 60.78 kB / 1.044 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/1.076, allocations: 4 kB / 1.044 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1.076, allocations: 4 kB / 1.044 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/1.076, allocations: 0 / 1.044 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/1.076, allocations: 27.98 kB / 1.044 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.076, allocations: 3.984 kB / 1.044 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.201e-05/1.076, allocations: 19.89 kB / 1.044 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/1.076, allocations: 4 kB / 1.044 GB, free: 7.852 MB / 0.6667 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 (3): * Single equations (assignments): 3 * 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 6.798e-05/1.077, allocations: 101 kB / 1.044 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/1.077, allocations: 7.906 kB / 1.044 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/1.077, allocations: 64.67 kB / 1.044 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/1.077, allocations: 0 / 1.044 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.077, allocations: 0 / 1.044 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.077, allocations: 0 / 1.044 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/1.077, allocations: 145.7 kB / 1.044 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.077, allocations: 3.984 kB / 1.044 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/1.077, allocations: 31.92 kB / 1.044 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/1.077, allocations: 0 / 1.044 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/1.077, allocations: 7.844 kB / 1.044 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.077, allocations: 0 / 1.044 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.077, allocations: 0 / 1.044 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001565/1.077, allocations: 153.2 kB / 1.044 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002635/1.078, allocations: 0.5271 MB / 1.045 GB, free: 6.766 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/1.078, allocations: 77.11 kB / 1.045 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/1.078, allocations: 4.328 kB / 1.045 GB, free: 6.668 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/1.078, allocations: 23.97 kB / 1.045 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/1.078, allocations: 3.906 kB / 1.045 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-06/1.078, allocations: 7.062 kB / 1.045 GB, free: 6.637 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.124e-05/1.078, allocations: 82.28 kB / 1.045 GB, free: 6.559 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007579/1.079, allocations: 19.92 kB / 1.045 GB, free: 6.539 MB / 0.6667 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 (3): * Single equations (assignments): 3 * 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.0001959/1.079, allocations: 146.8 kB / 1.045 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 7.785e-05/1.079, allocations: 27.17 kB / 1.045 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/1.079, allocations: 0 / 1.045 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.185e-05/1.079, allocations: 14.81 kB / 1.045 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/1.079, allocations: 4 kB / 1.045 GB, free: 6.355 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002328/1.079, allocations: 82.44 kB / 1.045 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/1.08, allocations: 0.6993 MB / 1.046 GB, free: 5.535 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/1.08, allocations: 0 / 1.046 GB, free: 5.535 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)