Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.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.DewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb",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.905/1.905, allocations: 248.6 MB / 255.9 MB, free: 368 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001631/0.001631, allocations: 182 kB / 315.1 MB, free: 7.785 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.829/1.829, allocations: 205.1 MB / 0.5658 GB, free: 25.49 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.001263/0.001262, allocations: 86.27 kB / 0.67 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2426/0.2439, allocations: 112.4 MB / 0.7797 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.6825, allocations: 106.2 MB / 0.8835 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2201/0.9027, allocations: 131.4 MB / 1.012 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.9031, allocations: 91.92 kB / 1.012 GB, free: 9.582 MB / 0.6667 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.01079/0.9139, allocations: 2.312 MB / 1.014 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.9139, allocations: 11.98 kB / 1.014 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.9141, allocations: 8 kB / 1.014 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.9142, allocations: 163 kB / 1.014 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.9142, allocations: 4 kB / 1.014 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.9143, allocations: 8 kB / 1.014 GB, free: 6.996 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.991e-05/0.9143, allocations: 11.89 kB / 1.014 GB, free: 6.984 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.673e-05/0.9144, allocations: 41.64 kB / 1.014 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.9145, allocations: 0 / 1.014 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.9145, allocations: 0 / 1.014 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.9145, allocations: 0 / 1.014 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.9147, allocations: 138.2 kB / 1.015 GB, free: 6.766 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.9149, allocations: 37.67 kB / 1.015 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.419e-05/0.9149, allocations: 12.86 kB / 1.015 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.915, allocations: 4 kB / 1.015 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.915, allocations: 30.56 kB / 1.015 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.915, allocations: 0 / 1.015 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of matching and sorting (n=6): time 0.000862/0.9159, allocations: 290.3 kB / 1.015 GB, free: 6.328 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.916, allocations: 51.41 kB / 1.015 GB, free: 6.266 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.161e-05/0.916, allocations: 85 kB / 1.015 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.9161, allocations: 25.7 kB / 1.015 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.9161, allocations: 80.14 kB / 1.015 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.9161, allocations: 23.73 kB / 1.015 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.9162, allocations: 3.938 kB / 1.015 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.9164, allocations: 314.8 kB / 1.015 GB, free: 5.719 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.9164, allocations: 16 kB / 1.015 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-05/0.9164, allocations: 8 kB / 1.015 GB, free: 5.695 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.647e-05/0.9165, allocations: 7.984 kB / 1.015 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.9165, allocations: 0 / 1.015 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001448/0.9167, allocations: 61.62 kB / 1.016 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.9167, allocations: 10.81 kB / 1.016 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.9167, allocations: 240 / 1.016 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.9167, allocations: 0 / 1.016 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.9169, allocations: 8 kB / 1.016 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.9169, allocations: 7.984 kB / 1.016 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.9169, allocations: 7.906 kB / 1.016 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.917, allocations: 0 / 1.016 GB, free: 5.59 MB / 0.6667 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 8.846e-05/0.9171, allocations: 101 kB / 1.016 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.9171, allocations: 7.984 kB / 1.016 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.9173, allocations: 65.53 kB / 1.016 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.9173, allocations: 0 / 1.016 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.9173, allocations: 3.906 kB / 1.016 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.9173, allocations: 192 / 1.016 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.9175, allocations: 134.2 kB / 1.016 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.9175, allocations: 7.984 kB / 1.016 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.9176, allocations: 15.98 kB / 1.016 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.9177, allocations: 0 / 1.016 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.9177, allocations: 0 / 1.016 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.9177, allocations: 128 / 1.016 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.9177, allocations: 4 kB / 1.016 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002024/0.9179, allocations: 101 kB / 1.016 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003626/0.9183, allocations: 485.6 kB / 1.016 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.9184, allocations: 81.09 kB / 1.017 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.9184, allocations: 0 / 1.017 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.9185, allocations: 7.938 kB / 1.017 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.9185, allocations: 7.969 kB / 1.017 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.9185, allocations: 4 kB / 1.017 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.439e-05/0.9186, allocations: 75.34 kB / 1.017 GB, free: 4.402 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001101/0.9197, allocations: 12 kB / 1.017 GB, free: 4.391 MB / 0.6667 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.0001711/0.9199, allocations: 107.2 kB / 1.017 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.92, allocations: 27.94 kB / 1.017 GB, free: 4.25 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.92, allocations: 4 kB / 1.017 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.9201, allocations: 8 kB / 1.017 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.9203, allocations: 4 kB / 1.017 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.9206, allocations: 88.19 kB / 1.017 GB, free: 4.125 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/0.9209, allocations: 0.6958 MB / 1.018 GB, free: 3.402 MB / 0.6667 GB Notification: Performance of SimCode: time 6.71e-07/0.9209, allocations: 0 / 1.018 GB, free: 3.402 MB / 0.6667 GB