Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7104/0.7104, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 181.2 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 399.1 MB, free: 6.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009713/0.0009709, allocations: 90.47 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3403/0.3413, allocations: 82.88 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.5155, allocations: 76.74 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5078/1.023, allocations: 102.4 MB / 0.721 GB, free: 9.914 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/1.024, allocations: 84.91 kB / 0.7211 GB, free: 9.832 MB / 490.7 MB 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.004523/1.028, allocations: 1.32 MB / 0.7224 GB, free: 8.473 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1.028, allocations: 8 kB / 0.7224 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/1.028, allocations: 0 / 0.7224 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/1.029, allocations: 167 kB / 0.7225 GB, free: 8.262 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/1.029, allocations: 3.984 kB / 0.7225 GB, free: 8.258 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/1.029, allocations: 0 / 0.7225 GB, free: 8.258 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001276/1.029, allocations: 8 kB / 0.7225 GB, free: 8.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.62e-05/1.029, allocations: 41.62 kB / 0.7226 GB, free: 8.203 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.029, allocations: 0 / 0.7226 GB, free: 8.203 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/1.029, allocations: 1.031 kB / 0.7226 GB, free: 8.203 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.029, allocations: 4 kB / 0.7226 GB, free: 8.199 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/1.029, allocations: 229.3 kB / 0.7228 GB, free: 7.938 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.947e-05/1.029, allocations: 22.58 kB / 0.7228 GB, free: 7.906 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/1.029, allocations: 12.95 kB / 0.7228 GB, free: 7.891 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/1.029, allocations: 4 kB / 0.7228 GB, free: 7.887 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/1.029, allocations: 38.56 kB / 0.7229 GB, free: 7.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.866e-06/1.029, allocations: 0 / 0.7229 GB, free: 7.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001698/1.03, allocations: 45.55 kB / 0.7229 GB, free: 7.789 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/1.03, allocations: 51.41 kB / 0.723 GB, free: 7.727 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.138e-05/1.03, allocations: 89 kB / 0.7231 GB, free: 7.633 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/1.03, allocations: 30.3 kB / 0.7231 GB, free: 7.598 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/1.03, allocations: 84.12 kB / 0.7232 GB, free: 7.512 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/1.03, allocations: 7.906 kB / 0.7232 GB, free: 7.504 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/1.03, allocations: 4.031 kB / 0.7232 GB, free: 7.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/1.03, allocations: 314.8 kB / 0.7235 GB, free: 7.184 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/1.03, allocations: 0 / 0.7235 GB, free: 7.184 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/1.03, allocations: 10.08 kB / 0.7235 GB, free: 7.176 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.9e-05/1.03, allocations: 4 kB / 0.7235 GB, free: 7.172 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.465e-05/1.03, allocations: 0 / 0.7235 GB, free: 7.172 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.15e-05/1.03, allocations: 45.62 kB / 0.7235 GB, free: 7.121 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.03, allocations: 11.91 kB / 0.7235 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.03, allocations: 4.094 kB / 0.7236 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.03, allocations: 0 / 0.7236 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/1.03, allocations: 13.23 kB / 0.7236 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/1.03, allocations: 0 / 0.7236 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.998e-05/1.03, allocations: 8 kB / 0.7236 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/1.03, allocations: 4 kB / 0.7236 GB, free: 7.082 MB / 490.7 MB 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 7.773e-05/1.031, allocations: 101 kB / 0.7237 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/1.031, allocations: 7.906 kB / 0.7237 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/1.031, allocations: 45 kB / 0.7237 GB, free: 6.922 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.031, allocations: 0 / 0.7237 GB, free: 6.922 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.031, allocations: 0 / 0.7237 GB, free: 6.922 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/1.031, allocations: 3.984 kB / 0.7237 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/1.031, allocations: 134.2 kB / 0.7239 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.031, allocations: 0 / 0.7239 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.385e-05/1.031, allocations: 27.83 kB / 0.7239 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/1.031, allocations: 7.906 kB / 0.7239 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/1.031, allocations: 0 / 0.7239 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.031, allocations: 0 / 0.7239 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.031, allocations: 0 / 0.7239 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001298/1.031, allocations: 139.6 kB / 0.724 GB, free: 6.566 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002266/1.031, allocations: 0.5024 MB / 0.7245 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/1.031, allocations: 88.95 kB / 0.7246 GB, free: 5.941 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/1.031, allocations: 0 / 0.7246 GB, free: 5.941 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/1.032, allocations: 15.98 kB / 0.7246 GB, free: 5.926 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/1.032, allocations: 4 kB / 0.7246 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/1.032, allocations: 0 / 0.7246 GB, free: 5.922 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.552e-05/1.032, allocations: 91.44 kB / 0.7247 GB, free: 5.832 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000843/1.032, allocations: 15.94 kB / 0.7247 GB, free: 5.816 MB / 490.7 MB 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.0002353/1.033, allocations: 111.2 kB / 0.7248 GB, free: 5.695 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.771e-05/1.033, allocations: 16 kB / 0.7248 GB, free: 5.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.033, allocations: 0 / 0.7248 GB, free: 5.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.394e-05/1.033, allocations: 4 kB / 0.7248 GB, free: 5.676 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/1.033, allocations: 7.906 kB / 0.7249 GB, free: 5.668 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/1.033, allocations: 59.86 kB / 0.7249 GB, free: 5.586 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/1.034, allocations: 0.6841 MB / 0.7256 GB, free: 4.875 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/1.034, allocations: 0 / 0.7256 GB, free: 4.875 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)