Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.904/1.904, allocations: 248.6 MB / 255.9 MB, free: 1.551 MB / 195.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001632/0.001632, allocations: 191.2 kB / 315.1 MB, free: 9.98 MB / 259.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.1 MB / 0.5658 GB, free: 14.41 MB / 435.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001232/0.001231, allocations: 90.27 kB / 0.67 GB, free: 52.24 MB / 499.1 MB Notification: Performance of FrontEnd - loaded program: time 0.2225/0.2238, allocations: 112.4 MB / 0.7797 GB, free: 10.95 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.4396, allocations: 106.3 MB / 0.8835 GB, free: 0.5938 MB / 0.6437 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5098/0.9494, allocations: 130.9 MB / 1.011 GB, free: 184 kB / 0.6437 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.9498, allocations: 77.31 kB / 1.011 GB, free: 108 kB / 0.6437 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.008357/0.9582, allocations: 1.842 MB / 1.013 GB, free: 14.27 MB / 0.6593 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.9582, allocations: 8 kB / 1.013 GB, free: 14.26 MB / 0.6593 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.9584, allocations: 15.42 kB / 1.013 GB, free: 14.25 MB / 0.6593 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.9585, allocations: 165.6 kB / 1.013 GB, free: 14.05 MB / 0.6593 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.9586, allocations: 0 / 1.013 GB, free: 14.05 MB / 0.6593 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.9586, allocations: 4 kB / 1.013 GB, free: 14.04 MB / 0.6593 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.122e-05/0.9587, allocations: 15.91 kB / 1.013 GB, free: 14.03 MB / 0.6593 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.785e-05/0.9588, allocations: 41.69 kB / 1.013 GB, free: 13.98 MB / 0.6593 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.9588, allocations: 3.969 kB / 1.013 GB, free: 13.98 MB / 0.6593 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.9588, allocations: 0 / 1.013 GB, free: 13.98 MB / 0.6593 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.9589, allocations: 0 / 1.013 GB, free: 13.98 MB / 0.6593 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.959, allocations: 138.2 kB / 1.014 GB, free: 13.81 MB / 0.6593 GB Notification: Performance of preOpt comSubExp (simulation): time 9.946e-05/0.9591, allocations: 34.64 kB / 1.014 GB, free: 13.77 MB / 0.6593 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.9592, allocations: 24.92 kB / 1.014 GB, free: 13.74 MB / 0.6593 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.9592, allocations: 0 / 1.014 GB, free: 13.74 MB / 0.6593 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.9593, allocations: 40.39 kB / 1.014 GB, free: 13.69 MB / 0.6593 GB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.9593, allocations: 4 kB / 1.014 GB, free: 13.69 MB / 0.6593 GB Notification: Performance of matching and sorting (n=8): time 0.003509/0.9628, allocations: 469.5 kB / 1.014 GB, free: 13.19 MB / 0.6593 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.9628, allocations: 51.41 kB / 1.014 GB, free: 13.12 MB / 0.6593 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.532e-05/0.9629, allocations: 85 kB / 1.014 GB, free: 13.04 MB / 0.6593 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.9629, allocations: 25.7 kB / 1.014 GB, free: 13 MB / 0.6593 GB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.963, allocations: 84.08 kB / 1.014 GB, free: 12.92 MB / 0.6593 GB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.963, allocations: 31.55 kB / 1.014 GB, free: 12.89 MB / 0.6593 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.963, allocations: 0 / 1.014 GB, free: 12.89 MB / 0.6593 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.9632, allocations: 315.8 kB / 1.015 GB, free: 12.57 MB / 0.6593 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-05/0.9632, allocations: 16 kB / 1.015 GB, free: 12.55 MB / 0.6593 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.125e-05/0.9633, allocations: 21.06 kB / 1.015 GB, free: 12.54 MB / 0.6593 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.378e-05/0.9634, allocations: 29.02 kB / 1.015 GB, free: 12.51 MB / 0.6593 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.9634, allocations: 0 / 1.015 GB, free: 12.51 MB / 0.6593 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002185/0.9636, allocations: 87.84 kB / 1.015 GB, free: 12.42 MB / 0.6593 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.9637, allocations: 8 kB / 1.015 GB, free: 12.41 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.9637, allocations: 0.6875 kB / 1.015 GB, free: 12.41 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.9637, allocations: 0 / 1.015 GB, free: 12.41 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.964, allocations: 12.56 kB / 1.015 GB, free: 12.4 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.964, allocations: 0 / 1.015 GB, free: 12.4 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.9641, allocations: 4.734 kB / 1.015 GB, free: 12.39 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.9641, allocations: 8.625 kB / 1.015 GB, free: 12.39 MB / 0.6593 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 (9): * Single equations (assignments): 9 * 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.108e-05/0.9642, allocations: 104.9 kB / 1.015 GB, free: 12.28 MB / 0.6593 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.9643, allocations: 4.469 kB / 1.015 GB, free: 12.28 MB / 0.6593 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.066e-05/0.9643, allocations: 16.69 kB / 1.015 GB, free: 12.27 MB / 0.6593 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.9643, allocations: 0 / 1.015 GB, free: 12.27 MB / 0.6593 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9644, allocations: 4.594 kB / 1.015 GB, free: 12.27 MB / 0.6593 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.9644, allocations: 2.531 kB / 1.015 GB, free: 12.27 MB / 0.6593 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.9646, allocations: 163.8 kB / 1.015 GB, free: 12.08 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.9646, allocations: 0 / 1.015 GB, free: 12.08 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.9648, allocations: 12 kB / 1.015 GB, free: 12.07 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.9649, allocations: 5.156 kB / 1.015 GB, free: 12.06 MB / 0.6593 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.9649, allocations: 0 / 1.015 GB, free: 12.06 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.9649, allocations: 4 kB / 1.015 GB, free: 12.06 MB / 0.6593 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9649, allocations: 0.875 kB / 1.015 GB, free: 12.06 MB / 0.6593 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003338/0.9653, allocations: 141.7 kB / 1.015 GB, free: 11.9 MB / 0.6593 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000513/0.9658, allocations: 0.5358 MB / 1.016 GB, free: 11.35 MB / 0.6593 GB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.9658, allocations: 77.11 kB / 1.016 GB, free: 11.25 MB / 0.6593 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.9659, allocations: 0.5938 kB / 1.016 GB, free: 11.25 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.9661, allocations: 8.125 kB / 1.016 GB, free: 11.25 MB / 0.6593 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.9661, allocations: 11.92 kB / 1.016 GB, free: 11.23 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.9661, allocations: 0 / 1.016 GB, free: 11.23 MB / 0.6593 GB Notification: Performance of sort global known variables: time 3.021e-05/0.9662, allocations: 75.28 kB / 1.016 GB, free: 11.16 MB / 0.6593 GB Notification: Performance of remove unused functions: time 0.00106/0.9672, allocations: 15.91 kB / 1.016 GB, free: 11.14 MB / 0.6593 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 (8): * Single equations (assignments): 8 * 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.0001534/0.9674, allocations: 107.1 kB / 1.016 GB, free: 11.03 MB / 0.6593 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.9676, allocations: 56 kB / 1.016 GB, free: 10.98 MB / 0.6593 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9676, allocations: 0 / 1.016 GB, free: 10.98 MB / 0.6593 GB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.9677, allocations: 33.58 kB / 1.016 GB, free: 10.95 MB / 0.6593 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.9679, allocations: 11.23 kB / 1.016 GB, free: 10.94 MB / 0.6593 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.9686, allocations: 120.4 kB / 1.016 GB, free: 10.8 MB / 0.6593 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/0.969, allocations: 0.6997 MB / 1.017 GB, free: 10.07 MB / 0.6593 GB Notification: Performance of SimCode: time 7.01e-07/0.969, allocations: 0 / 1.017 GB, free: 10.07 MB / 0.6593 GB