Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 1.909/1.909, allocations: 248.6 MB / 255.9 MB, free: 7.129 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.001575/0.001575, allocations: 184.2 kB / 315.1 MB, free: 4.254 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.654/1.654, allocations: 205.1 MB / 0.5658 GB, free: 368 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00126/0.001259, allocations: 87.27 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.405/0.4063, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.5959, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5643/1.16, allocations: 133 MB / 1.013 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.161, allocations: 86.56 kB / 1.013 GB, free: 7.148 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01438/1.175, allocations: 2.872 MB / 1.016 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.175, allocations: 8 kB / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006032/1.176, allocations: 31.95 kB / 1.016 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/1.176, allocations: 167.1 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/1.176, allocations: 0 / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/1.176, allocations: 3.906 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001099/1.176, allocations: 23.19 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/1.176, allocations: 49.03 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/1.176, allocations: 0 / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/1.176, allocations: 0 / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/1.176, allocations: 11.94 kB / 1.017 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/1.176, allocations: 141.7 kB / 1.017 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/1.177, allocations: 44.14 kB / 1.017 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/1.177, allocations: 25.17 kB / 1.017 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/1.177, allocations: 0 / 1.017 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/1.177, allocations: 34.5 kB / 1.017 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 5.06e-06/1.177, allocations: 7.984 kB / 1.017 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.002912/1.18, allocations: 414.5 kB / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/1.18, allocations: 55.39 kB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/1.18, allocations: 93 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/1.18, allocations: 25.7 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/1.18, allocations: 84.08 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/1.18, allocations: 22.59 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/1.18, allocations: 0 / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.18, allocations: 322.2 kB / 1.018 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.144e-05/1.18, allocations: 21.69 kB / 1.018 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.897e-05/1.18, allocations: 27.73 kB / 1.018 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/1.181, allocations: 25.55 kB / 1.018 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.181, allocations: 128 / 1.018 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003496/1.181, allocations: 113 kB / 1.018 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.181, allocations: 4 kB / 1.018 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/1.181, allocations: 0 / 1.018 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.181, allocations: 7.375 kB / 1.018 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/1.181, allocations: 23.95 kB / 1.018 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.181, allocations: 240 / 1.018 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/1.182, allocations: 8 kB / 1.018 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/1.182, allocations: 7.969 kB / 1.018 GB, free: 2.832 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 (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 0.0001071/1.182, allocations: 108.9 kB / 1.018 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/1.182, allocations: 7.906 kB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/1.182, allocations: 15.38 kB / 1.018 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/1.182, allocations: 0 / 1.018 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.182, allocations: 0 / 1.018 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.182, allocations: 7.922 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/1.182, allocations: 167.2 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.182, allocations: 4 kB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/1.183, allocations: 27.95 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/1.183, allocations: 0 / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/1.183, allocations: 4 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/1.183, allocations: 3.984 kB / 1.018 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.183, allocations: 0 / 1.018 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007495/1.184, allocations: 161.1 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009095/1.185, allocations: 0.5672 MB / 1.019 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/1.185, allocations: 88.8 kB / 1.019 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.826e-05/1.185, allocations: 3.984 kB / 1.019 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/1.185, allocations: 8 kB / 1.019 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/1.185, allocations: 11.83 kB / 1.019 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/1.185, allocations: 4 kB / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.646e-05/1.185, allocations: 83.33 kB / 1.019 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001267/1.187, allocations: 36 kB / 1.019 GB, free: 1.531 MB / 0.6355 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.000321/1.187, allocations: 134.7 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002738/1.187, allocations: 73.7 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.187, allocations: 0 / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/1.187, allocations: 34.67 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/1.188, allocations: 8.094 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000921/1.189, allocations: 123.1 kB / 1.02 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/1.189, allocations: 0.7109 MB / 1.02 GB, free: 448 kB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/1.189, allocations: 0 / 1.02 GB, free: 448 kB / 0.6355 GB