Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",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 8.0.0/package.mo): time 2.354/2.354, allocations: 284.8 MB / 292.1 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002984/0.002983, allocations: 181.2 kB / 360.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.2 MB / 0.6187 GB, free: 13.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 93.44 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2674/0.2686, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6092/0.8778, allocations: 115.2 MB / 0.9628 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2897/1.168, allocations: 137.6 MB / 1.097 GB, free: 3.238 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003879/1.168, allocations: 72.7 kB / 1.097 GB, free: 3.168 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.009483/1.178, allocations: 1.311 MB / 1.098 GB, free: 1.863 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/1.178, allocations: 8.5 kB / 1.098 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/1.178, allocations: 3.906 kB / 1.098 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/1.178, allocations: 164.8 kB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/1.178, allocations: 0.625 kB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/1.178, allocations: 0 / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001205/1.178, allocations: 10 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/1.178, allocations: 45.62 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.178, allocations: 0.75 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/1.178, allocations: 3.906 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/1.178, allocations: 0 / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/1.179, allocations: 228.6 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.378e-05/1.179, allocations: 19.27 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/1.179, allocations: 13.58 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/1.179, allocations: 8.531 kB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/1.179, allocations: 35.78 kB / 1.099 GB, free: 1.238 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 5.4e-06/1.179, allocations: 4.5 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002621/1.179, allocations: 43.67 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/1.18, allocations: 52.06 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/1.18, allocations: 89.75 kB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/1.18, allocations: 25.7 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/1.18, allocations: 88.12 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/1.18, allocations: 3.906 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/1.18, allocations: 0 / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001791/1.18, allocations: 314.8 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.989e-05/1.18, allocations: 9.812 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/1.18, allocations: 4 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/1.18, allocations: 4 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.18, allocations: 0 / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001671/1.18, allocations: 49.53 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/1.18, allocations: 4 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/1.18, allocations: 4 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/1.18, allocations: 0 / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/1.181, allocations: 16.08 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/1.181, allocations: 0 / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/1.181, allocations: 11.94 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/1.181, allocations: 0 / 1.1 GB, free: 496 kB / 0.698 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 (2): * Single equations (assignments): 2 * 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.0001803/1.181, allocations: 112.7 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/1.181, allocations: 4 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/1.181, allocations: 49.66 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.181, allocations: 0.5156 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.181, allocations: 3.75 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/1.181, allocations: 0 / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/1.182, allocations: 139.6 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.182, allocations: 3.938 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/1.182, allocations: 16.02 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/1.182, allocations: 8.516 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/1.182, allocations: 0 / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.182, allocations: 0 / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.182, allocations: 0 / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002242/1.182, allocations: 131.5 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004239/1.183, allocations: 0.5102 MB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/1.183, allocations: 89.05 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/1.183, allocations: 1.438 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/1.183, allocations: 7.984 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/1.183, allocations: 4.656 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/1.183, allocations: 0 / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.254e-05/1.183, allocations: 87.3 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002047/1.185, allocations: 19.84 kB / 1.101 GB, free: 15.21 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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.0003721/1.186, allocations: 111.2 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001538/1.186, allocations: 12 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.186, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/1.186, allocations: 12 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/1.186, allocations: 7.312 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/1.187, allocations: 60.67 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/1.187, allocations: 0.688 MB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of SimCode: time 1.333e-06/1.187, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)