Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.001044/0.001044, allocations: 181.2 kB / 366.3 MB, free: 1.961 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.445/1.445, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0008881/0.0008879, allocations: 90.56 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.304/0.3049, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7072/1.012, allocations: 116.3 MB / 0.9726 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/1.193, allocations: 138.7 MB / 1.108 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/1.193, allocations: 71.95 kB / 1.108 GB, free: 9.617 MB / 0.7136 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.004311/1.198, allocations: 1.31 MB / 1.109 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.198, allocations: 12 kB / 1.109 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/1.198, allocations: 3.906 kB / 1.109 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/1.198, allocations: 163 kB / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/1.198, allocations: 0.5625 kB / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/1.198, allocations: 4 kB / 1.11 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.189e-05/1.198, allocations: 8 kB / 1.11 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.219e-05/1.198, allocations: 37.69 kB / 1.11 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/1.198, allocations: 0 / 1.11 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/1.198, allocations: 7.906 kB / 1.11 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/1.198, allocations: 0.5625 kB / 1.11 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/1.198, allocations: 230.4 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.725e-05/1.198, allocations: 22.52 kB / 1.11 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/1.198, allocations: 12.92 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/1.198, allocations: 3.906 kB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/1.199, allocations: 34.56 kB / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/1.199, allocations: 0.9375 kB / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001477/1.199, allocations: 41.69 kB / 1.11 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/1.199, allocations: 55.41 kB / 1.11 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.198e-05/1.199, allocations: 89 kB / 1.11 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/1.199, allocations: 25.7 kB / 1.11 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/1.199, allocations: 84.14 kB / 1.11 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/1.199, allocations: 7.891 kB / 1.11 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/1.199, allocations: 0 / 1.11 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.199, allocations: 314.9 kB / 1.111 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/1.199, allocations: 8 kB / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.25e-05/1.199, allocations: 8.875 kB / 1.111 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.811e-05/1.199, allocations: 4 kB / 1.111 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.199, allocations: 0 / 1.111 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.995e-05/1.199, allocations: 41.61 kB / 1.111 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/1.199, allocations: 4 kB / 1.111 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.199, allocations: 3.984 kB / 1.111 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/1.199, allocations: 4.094 kB / 1.111 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.306e-05/1.199, allocations: 12 kB / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/1.199, allocations: 3.938 kB / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.913e-05/1.199, allocations: 12.86 kB / 1.111 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/1.199, allocations: 0.6562 kB / 1.111 GB, free: 6.891 MB / 0.7136 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 6.308e-05/1.199, allocations: 112.9 kB / 1.111 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/1.199, allocations: 0 / 1.111 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/1.2, allocations: 50.34 kB / 1.111 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/1.2, allocations: 4 kB / 1.111 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.2, allocations: 0 / 1.111 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/1.2, allocations: 0 / 1.111 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/1.2, allocations: 139.3 kB / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/1.2, allocations: 0 / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/1.2, allocations: 16.03 kB / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/1.2, allocations: 0 / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/1.2, allocations: 192 / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.2, allocations: 4.656 kB / 1.111 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.2, allocations: 3.984 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001011/1.2, allocations: 131.5 kB / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002306/1.2, allocations: 0.5146 MB / 1.112 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/1.2, allocations: 85.09 kB / 1.112 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/1.2, allocations: 4 kB / 1.112 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.743e-05/1.2, allocations: 12.02 kB / 1.112 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/1.2, allocations: 1.688 kB / 1.112 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/1.2, allocations: 4.5 kB / 1.112 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.266e-05/1.2, allocations: 75.28 kB / 1.112 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008429/1.201, allocations: 23.83 kB / 1.112 GB, free: 5.621 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.0001922/1.202, allocations: 111.2 kB / 1.112 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.223e-05/1.202, allocations: 15.98 kB / 1.112 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.202, allocations: 8.062 kB / 1.112 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.312e-05/1.202, allocations: 11.94 kB / 1.112 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/1.202, allocations: 0.5156 kB / 1.112 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002146/1.202, allocations: 56.77 kB / 1.112 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002865/1.202, allocations: 0.688 MB / 1.113 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of SimCode: time 1.704e-06/1.202, allocations: 0 / 1.113 GB, free: 4.676 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)