Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.994/1.994, 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.001116/0.001116, allocations: 193.2 kB / 487 MB, free: 5.355 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.271/1.271, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0009555/0.0009555, allocations: 98.59 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4861/0.4871, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.6833, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5995/1.283, allocations: 148.9 MB / 1.351 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/1.283, allocations: 70.98 kB / 1.351 GB, free: 15.69 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.003023/1.286, allocations: 1.025 MB / 1.352 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/1.286, allocations: 12.41 kB / 1.352 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.15e-05/1.286, allocations: 8.25 kB / 1.352 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.769e-05/1.286, allocations: 162 kB / 1.352 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/1.286, allocations: 1.062 kB / 1.352 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/1.286, allocations: 1 kB / 1.352 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.455e-05/1.287, allocations: 12.66 kB / 1.352 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.798e-05/1.287, allocations: 38.92 kB / 1.352 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/1.287, allocations: 0 / 1.352 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/1.287, allocations: 3.906 kB / 1.352 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.287, allocations: 5.109 kB / 1.352 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/1.287, allocations: 222.5 kB / 1.352 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.291e-05/1.287, allocations: 24.23 kB / 1.352 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/1.287, allocations: 12.3 kB / 1.352 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/1.287, allocations: 0 / 1.352 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/1.287, allocations: 41.66 kB / 1.352 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/1.287, allocations: 4 kB / 1.352 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001298/1.287, allocations: 38.44 kB / 1.352 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.485e-05/1.287, allocations: 52.69 kB / 1.352 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.184e-05/1.287, allocations: 93.95 kB / 1.352 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/1.287, allocations: 25.7 kB / 1.352 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.741e-05/1.287, allocations: 86.42 kB / 1.353 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/1.287, allocations: 6.641 kB / 1.353 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/1.287, allocations: 0 / 1.353 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.282e-05/1.287, allocations: 315.8 kB / 1.353 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/1.287, allocations: 6.594 kB / 1.353 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.342e-05/1.287, allocations: 3.859 kB / 1.353 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.652e-05/1.287, allocations: 7.094 kB / 1.353 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/1.287, allocations: 0 / 1.353 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.52e-05/1.287, allocations: 47.27 kB / 1.353 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/1.287, allocations: 5.75 kB / 1.353 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/1.287, allocations: 0 / 1.353 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/1.287, allocations: 5.359 kB / 1.353 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/1.288, allocations: 17.2 kB / 1.353 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/1.288, allocations: 0 / 1.353 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/1.288, allocations: 9.953 kB / 1.353 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/1.288, allocations: 2.469 kB / 1.353 GB, free: 14.07 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 3.881e-05/1.288, allocations: 113.4 kB / 1.353 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/1.288, allocations: 1.562 kB / 1.353 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/1.288, allocations: 53.92 kB / 1.353 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/1.288, allocations: 1.594 kB / 1.353 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/1.288, allocations: 0 / 1.353 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.288, allocations: 0 / 1.353 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/1.288, allocations: 143.9 kB / 1.353 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.288, allocations: 0 / 1.353 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.129e-05/1.288, allocations: 20.22 kB / 1.353 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.288, allocations: 1 kB / 1.353 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/1.288, allocations: 0 / 1.353 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.288, allocations: 3.656 kB / 1.353 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.288, allocations: 0 / 1.353 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.949e-05/1.288, allocations: 141.2 kB / 1.353 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001134/1.288, allocations: 0.5174 MB / 1.354 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/1.288, allocations: 80.03 kB / 1.354 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/1.288, allocations: 0 / 1.354 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.673e-05/1.288, allocations: 8.812 kB / 1.354 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/1.289, allocations: 8.266 kB / 1.354 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/1.289, allocations: 1.344 kB / 1.354 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.874e-05/1.289, allocations: 86.28 kB / 1.354 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008148/1.289, allocations: 9.5 kB / 1.354 GB, free: 12.93 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 (3): * Single equations (assignments): 3 * 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 9.128e-05/1.289, allocations: 100.4 kB / 1.354 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.958e-05/1.29, allocations: 14.98 kB / 1.354 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.29, allocations: 0 / 1.354 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.406e-05/1.29, allocations: 10.69 kB / 1.354 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/1.29, allocations: 5.125 kB / 1.354 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/1.29, allocations: 61.16 kB / 1.354 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/1.29, allocations: 0.6926 MB / 1.355 GB, free: 28.07 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/1.29, allocations: 0 / 1.355 GB, free: 28.07 MB / 0.823 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat does not exist to compare? outputFormat=mat