Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.948/1.948, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 180 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009347/0.0009347, allocations: 102.8 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4561/0.4571, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.6633, allocations: 142.3 MB / 1.205 GB, free: 26.04 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.609/1.272, allocations: 149.1 MB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/1.273, allocations: 77.34 kB / 1.351 GB, free: 15.82 MB / 0.8073 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.003834/1.276, allocations: 1.328 MB / 1.352 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/1.276, allocations: 9.906 kB / 1.352 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/1.276, allocations: 5.531 kB / 1.352 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.12e-05/1.277, allocations: 165.8 kB / 1.352 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/1.277, allocations: 0 / 1.352 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/1.277, allocations: 1.594 kB / 1.352 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.524e-05/1.277, allocations: 9.781 kB / 1.352 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.39e-05/1.277, allocations: 41.06 kB / 1.352 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/1.277, allocations: 0 / 1.352 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/1.277, allocations: 3.906 kB / 1.352 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.277, allocations: 1.156 kB / 1.352 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/1.277, allocations: 229.5 kB / 1.353 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.183e-05/1.277, allocations: 24.89 kB / 1.353 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/1.277, allocations: 8.75 kB / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/1.277, allocations: 5 kB / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/1.277, allocations: 36.81 kB / 1.353 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/1.277, allocations: 0 / 1.353 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001278/1.277, allocations: 42.94 kB / 1.353 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.426e-05/1.277, allocations: 52.94 kB / 1.353 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.89e-05/1.277, allocations: 94.41 kB / 1.353 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/1.277, allocations: 25.7 kB / 1.353 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.672e-05/1.277, allocations: 90.56 kB / 1.353 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/1.277, allocations: 4.812 kB / 1.353 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-06/1.277, allocations: 0 / 1.353 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.367e-05/1.277, allocations: 316.6 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/1.277, allocations: 2.781 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.152e-05/1.277, allocations: 6.031 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.49e-05/1.277, allocations: 2.25 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.277, allocations: 1.438 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.264e-05/1.278, allocations: 47.59 kB / 1.353 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/1.278, allocations: 5.094 kB / 1.353 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/1.278, allocations: 1.922 kB / 1.353 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/1.278, allocations: 2.391 kB / 1.353 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/1.278, allocations: 10.92 kB / 1.353 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/1.278, allocations: 5.203 kB / 1.353 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.837e-05/1.278, allocations: 12.88 kB / 1.353 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/1.278, allocations: 1.156 kB / 1.353 GB, free: 14.18 MB / 0.8073 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 4.167e-05/1.278, allocations: 114.2 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/1.278, allocations: 2.375 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.964e-05/1.278, allocations: 43.59 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.278, allocations: 1.344 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/1.278, allocations: 0 / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.278, allocations: 6.797 kB / 1.354 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.411e-05/1.278, allocations: 142 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.278, allocations: 1.453 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/1.278, allocations: 12.91 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.278, allocations: 0 / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/1.278, allocations: 1.281 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/1.278, allocations: 0 / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.278, allocations: 1.312 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.232e-05/1.278, allocations: 143.5 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001009/1.278, allocations: 0.5055 MB / 1.354 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/1.278, allocations: 77.83 kB / 1.354 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/1.278, allocations: 9.875 kB / 1.354 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-05/1.279, allocations: 12.22 kB / 1.354 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/1.279, allocations: 3.016 kB / 1.354 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/1.279, allocations: 0.7188 kB / 1.354 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.871e-05/1.279, allocations: 87.64 kB / 1.355 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007923/1.279, allocations: 22.69 kB / 1.355 GB, free: 13.03 MB / 0.8073 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.0001596/1.28, allocations: 115.9 kB / 1.355 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.606e-05/1.28, allocations: 11.53 kB / 1.355 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/1.28, allocations: 0 / 1.355 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.977e-05/1.28, allocations: 9.25 kB / 1.355 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/1.28, allocations: 1.906 kB / 1.355 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001652/1.28, allocations: 57.16 kB / 1.355 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/1.28, allocations: 0.6896 MB / 1.355 GB, free: 28.17 MB / 0.823 GB Notification: Performance of SimCode: time 8.22e-07/1.28, allocations: 4 kB / 1.355 GB, free: 28.17 MB / 0.823 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat does not exist to compare? outputFormat=mat