Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.SublimationPressureIce,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 7.02 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.00112/0.001121, allocations: 196.4 kB / 316 MB, free: 3.555 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.19/1.19, allocations: 205.1 MB / 0.5667 GB, free: 15.67 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.0007836/0.0007836, allocations: 82.92 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3532/0.354, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.5217, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5153/1.037, allocations: 132.5 MB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/1.037, allocations: 72.73 kB / 1.014 GB, free: 6 MB / 0.6355 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.004044/1.041, allocations: 1.311 MB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/1.041, allocations: 8 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/1.041, allocations: 3.938 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/1.042, allocations: 170.9 kB / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/1.042, allocations: 0 / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/1.042, allocations: 4 kB / 1.016 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.326e-05/1.042, allocations: 7.312 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.779e-05/1.042, allocations: 40.88 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/1.042, allocations: 0 / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/1.042, allocations: 0 / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/1.042, allocations: 0 / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/1.042, allocations: 232.2 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.29e-05/1.042, allocations: 29.83 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/1.042, allocations: 11.92 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/1.042, allocations: 0 / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/1.042, allocations: 34.56 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/1.042, allocations: 0 / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001456/1.042, allocations: 40.5 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/1.042, allocations: 55.31 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.257e-05/1.043, allocations: 96.73 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/1.043, allocations: 25.7 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/1.043, allocations: 80.14 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/1.043, allocations: 14.38 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/1.043, allocations: 0 / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.043, allocations: 314.8 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/1.043, allocations: 3.938 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/1.043, allocations: 7.25 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.781e-05/1.043, allocations: 8.062 kB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.043, allocations: 0 / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.633e-05/1.043, allocations: 37.08 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/1.043, allocations: 6.344 kB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.043, allocations: 10.17 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.043, allocations: 4.031 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/1.043, allocations: 8 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.043, allocations: 4.453 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.103e-05/1.043, allocations: 16.02 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/1.043, allocations: 0 / 1.017 GB, free: 3.438 MB / 0.6355 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 7.77e-05/1.043, allocations: 104.8 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/1.043, allocations: 4 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/1.043, allocations: 59.86 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/1.043, allocations: 4.031 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/1.043, allocations: 0 / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/1.044, allocations: 0 / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/1.044, allocations: 138.2 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.044, allocations: 0 / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.6e-05/1.044, allocations: 8 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/1.044, allocations: 4 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/1.044, allocations: 3.938 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.044, allocations: 7.906 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.044, allocations: 4.484 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001131/1.044, allocations: 127.5 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00024/1.044, allocations: 0.5104 MB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/1.044, allocations: 85.11 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/1.044, allocations: 4.594 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.996e-05/1.044, allocations: 10.55 kB / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/1.044, allocations: 4 kB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/1.044, allocations: 0 / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.059e-05/1.044, allocations: 83.16 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008488/1.045, allocations: 15.92 kB / 1.018 GB, free: 2.199 MB / 0.6355 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.0001646/1.045, allocations: 119.2 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.993e-05/1.045, allocations: 11.81 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.046, allocations: 3.938 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.922e-05/1.046, allocations: 7.812 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/1.046, allocations: 4.734 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002033/1.046, allocations: 67.03 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/1.046, allocations: 0.6841 MB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/1.046, allocations: 0 / 1.019 GB, free: 1.258 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)