Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.915/1.915, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001038/0.001038, allocations: 181.3 kB / 487 MB, free: 5.348 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.213/1.213, allocations: 221.3 MB / 0.7819 GB, free: 1.34 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.0009076/0.0009076, allocations: 104.4 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4762/0.4771, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.687, allocations: 142.3 MB / 1.205 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5808/1.268, allocations: 149.7 MB / 1.352 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/1.268, allocations: 86.45 kB / 1.352 GB, free: 15.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.009925/1.278, allocations: 2.919 MB / 1.354 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.278, allocations: 10.88 kB / 1.354 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/1.279, allocations: 31.97 kB / 1.355 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.127e-05/1.279, allocations: 161 kB / 1.355 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/1.279, allocations: 0.8438 kB / 1.355 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/1.279, allocations: 1.75 kB / 1.355 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001025/1.279, allocations: 32.23 kB / 1.355 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.974e-05/1.279, allocations: 48.45 kB / 1.355 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/1.279, allocations: 0 / 1.355 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/1.279, allocations: 0.8438 kB / 1.355 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.279, allocations: 3.906 kB / 1.355 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/1.279, allocations: 141.4 kB / 1.355 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/1.279, allocations: 44.02 kB / 1.355 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.739e-05/1.279, allocations: 22.45 kB / 1.355 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/1.279, allocations: 0.9062 kB / 1.355 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/1.28, allocations: 35.69 kB / 1.355 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/1.28, allocations: 1.156 kB / 1.355 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.001784/1.281, allocations: 427 kB / 1.355 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/1.281, allocations: 52.64 kB / 1.355 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.043e-05/1.281, allocations: 88.16 kB / 1.356 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/1.281, allocations: 26.52 kB / 1.356 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.393e-05/1.281, allocations: 84.34 kB / 1.356 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/1.281, allocations: 16.3 kB / 1.356 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/1.281, allocations: 1.156 kB / 1.356 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.047e-05/1.282, allocations: 325.2 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.198e-05/1.282, allocations: 28.02 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/1.282, allocations: 27.27 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.532e-05/1.282, allocations: 29.38 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/1.282, allocations: 0 / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002372/1.282, allocations: 98.73 kB / 1.356 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/1.282, allocations: 4.438 kB / 1.356 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.282, allocations: 1.25 kB / 1.356 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.282, allocations: 1.406 kB / 1.356 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/1.282, allocations: 33.52 kB / 1.356 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/1.282, allocations: 3.906 kB / 1.356 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/1.282, allocations: 7.703 kB / 1.356 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/1.283, allocations: 4.688 kB / 1.356 GB, free: 13.96 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 (7): * Single equations (assignments): 7 * 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 5.874e-05/1.283, allocations: 106.8 kB / 1.356 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/1.283, allocations: 5.781 kB / 1.356 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/1.283, allocations: 20.45 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.283, allocations: 1.156 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.283, allocations: 4 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.283, allocations: 0.8125 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/1.283, allocations: 168.4 kB / 1.356 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.283, allocations: 0 / 1.356 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/1.283, allocations: 23.39 kB / 1.356 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.283, allocations: 0.9688 kB / 1.356 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/1.283, allocations: 5.219 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.283, allocations: 0.6562 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.283, allocations: 4.844 kB / 1.357 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000309/1.284, allocations: 160.7 kB / 1.357 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003881/1.284, allocations: 0.5753 MB / 1.357 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/1.284, allocations: 82.58 kB / 1.357 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/1.284, allocations: 1.5 kB / 1.357 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/1.284, allocations: 13.39 kB / 1.357 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/1.284, allocations: 3.172 kB / 1.357 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/1.284, allocations: 7.047 kB / 1.357 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.69e-05/1.284, allocations: 76.75 kB / 1.357 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008491/1.285, allocations: 33.86 kB / 1.357 GB, free: 12.98 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002695/1.285, allocations: 138.4 kB / 1.358 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001964/1.286, allocations: 70.55 kB / 1.358 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.286, allocations: 0.7812 kB / 1.358 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.873e-05/1.286, allocations: 37.09 kB / 1.358 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/1.286, allocations: 10.64 kB / 1.358 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000626/1.287, allocations: 130.3 kB / 1.358 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/1.287, allocations: 0.7147 MB / 1.358 GB, free: 28.09 MB / 0.823 GB Notification: Performance of SimCode: time 2.91e-07/1.287, allocations: 0 / 1.358 GB, free: 28.09 MB / 0.823 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat does not exist to compare? outputFormat=mat