Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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 2.282/2.282, allocations: 248.6 MB / 255.9 MB, free: 1.18 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003072/0.003071, allocations: 182 kB / 315.1 MB, free: 9.621 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.1 MB / 0.5658 GB, free: 14.19 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002115/0.002115, allocations: 89.83 kB / 0.6699 GB, free: 52.14 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2907/0.2929, allocations: 112.4 MB / 0.7797 GB, free: 10.71 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.5963, allocations: 106.2 MB / 0.8835 GB, free: 368 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.863/6.459, allocations: 2.171 GB / 3.054 GB, free: 166.7 MB / 0.8778 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/6.459, allocations: 68.34 kB / 3.054 GB, free: 166.7 MB / 0.8778 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.1367/6.596, allocations: 36.37 MB / 3.09 GB, free: 137.5 MB / 0.8778 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/6.596, allocations: 11.94 kB / 3.09 GB, free: 137.5 MB / 0.8778 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000589/6.597, allocations: 35.02 kB / 3.09 GB, free: 137.5 MB / 0.8778 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/6.597, allocations: 159.1 kB / 3.09 GB, free: 137.3 MB / 0.8778 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/6.597, allocations: 33.61 kB / 3.09 GB, free: 137.2 MB / 0.8778 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/6.597, allocations: 0 / 3.09 GB, free: 137.2 MB / 0.8778 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001318/6.597, allocations: 19.8 kB / 3.09 GB, free: 137.2 MB / 0.8778 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/6.597, allocations: 45.44 kB / 3.09 GB, free: 137.2 MB / 0.8778 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/6.597, allocations: 3.984 kB / 3.09 GB, free: 137.2 MB / 0.8778 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/6.597, allocations: 0 / 3.09 GB, free: 137.2 MB / 0.8778 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/6.597, allocations: 0 / 3.09 GB, free: 137.2 MB / 0.8778 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007573/6.598, allocations: 333 kB / 3.09 GB, free: 136.8 MB / 0.8778 GB Notification: Performance of preOpt comSubExp (simulation): time 4.783e-05/6.598, allocations: 18.06 kB / 3.09 GB, free: 136.8 MB / 0.8778 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/6.598, allocations: 8.844 kB / 3.09 GB, free: 136.8 MB / 0.8778 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/6.598, allocations: 64 / 3.09 GB, free: 136.8 MB / 0.8778 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/6.598, allocations: 38.56 kB / 3.09 GB, free: 136.7 MB / 0.8778 GB Notification: Performance of pre-optimization done (n=1): time 2.996e-06/6.598, allocations: 0 / 3.09 GB, free: 136.7 MB / 0.8778 GB Notification: Performance of matching and sorting (n=1): time 0.00038/6.599, allocations: 43.75 kB / 3.09 GB, free: 136.7 MB / 0.8778 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/6.599, allocations: 51.41 kB / 3.09 GB, free: 136.6 MB / 0.8778 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/6.599, allocations: 96.62 kB / 3.09 GB, free: 136.5 MB / 0.8778 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/6.599, allocations: 29.64 kB / 3.09 GB, free: 136.5 MB / 0.8778 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/6.599, allocations: 91.61 kB / 3.091 GB, free: 136.4 MB / 0.8778 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/6.599, allocations: 11.92 kB / 3.091 GB, free: 136.4 MB / 0.8778 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/6.599, allocations: 4 kB / 3.091 GB, free: 136.4 MB / 0.8778 GB Notification: Performance of setup shared object (initialization): time 7.252e-05/6.599, allocations: 310.8 kB / 3.091 GB, free: 136.1 MB / 0.8778 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/6.599, allocations: 7.25 kB / 3.091 GB, free: 136.1 MB / 0.8778 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.546e-05/6.599, allocations: 18.58 kB / 3.091 GB, free: 136 MB / 0.8778 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/6.599, allocations: 11.3 kB / 3.091 GB, free: 136 MB / 0.8778 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/6.599, allocations: 4 kB / 3.091 GB, free: 136 MB / 0.8778 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001942/6.6, allocations: 45.64 kB / 3.091 GB, free: 136 MB / 0.8778 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/6.6, allocations: 6.344 kB / 3.091 GB, free: 136 MB / 0.8778 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/6.6, allocations: 3.984 kB / 3.091 GB, free: 136 MB / 0.8778 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/6.6, allocations: 0 / 3.091 GB, free: 136 MB / 0.8778 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/6.6, allocations: 8 kB / 3.091 GB, free: 136 MB / 0.8778 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/6.6, allocations: 7.844 kB / 3.091 GB, free: 135.9 MB / 0.8778 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/6.6, allocations: 0 / 3.091 GB, free: 135.9 MB / 0.8778 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/6.6, allocations: 4 kB / 3.091 GB, free: 135.9 MB / 0.8778 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.761e-05/6.6, allocations: 105.1 kB / 3.091 GB, free: 135.8 MB / 0.8778 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/6.6, allocations: 11.84 kB / 3.091 GB, free: 135.8 MB / 0.8778 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/6.6, allocations: 5.672 kB / 3.091 GB, free: 135.8 MB / 0.8778 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/6.6, allocations: 1.594 kB / 3.091 GB, free: 135.8 MB / 0.8778 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/6.6, allocations: 3.938 kB / 3.091 GB, free: 135.8 MB / 0.8778 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/6.6, allocations: 2.844 kB / 3.091 GB, free: 135.8 MB / 0.8778 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/6.601, allocations: 330.6 kB / 3.091 GB, free: 135.5 MB / 0.8778 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/6.601, allocations: 4.031 kB / 3.091 GB, free: 135.4 MB / 0.8778 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/6.601, allocations: 0 / 3.091 GB, free: 135.4 MB / 0.8778 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/6.601, allocations: 4 kB / 3.091 GB, free: 135.4 MB / 0.8778 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/6.601, allocations: 0 / 3.091 GB, free: 135.4 MB / 0.8778 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/6.601, allocations: 0 / 3.091 GB, free: 135.4 MB / 0.8778 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/6.601, allocations: 0 / 3.091 GB, free: 135.4 MB / 0.8778 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.802e-05/6.601, allocations: 60.97 kB / 3.091 GB, free: 135.4 MB / 0.8778 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002728/6.601, allocations: 456.2 kB / 3.092 GB, free: 134.9 MB / 0.8778 GB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/6.601, allocations: 77.11 kB / 3.092 GB, free: 134.8 MB / 0.8778 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/6.601, allocations: 4 kB / 3.092 GB, free: 134.8 MB / 0.8778 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/6.602, allocations: 7.984 kB / 3.092 GB, free: 134.8 MB / 0.8778 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/6.602, allocations: 0 / 3.092 GB, free: 134.8 MB / 0.8778 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/6.602, allocations: 0 / 3.092 GB, free: 134.8 MB / 0.8778 GB Notification: Performance of sort global known variables: time 5.474e-05/6.602, allocations: 86.94 kB / 3.092 GB, free: 134.7 MB / 0.8778 GB Notification: Performance of remove unused functions: time 0.002152/6.604, allocations: 78.23 kB / 3.092 GB, free: 134.7 MB / 0.8778 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 (1): * Single equations (assignments): 1 * 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.001234/6.605, allocations: 0.6585 MB / 3.093 GB, free: 134.1 MB / 0.8778 GB Notification: Performance of simCode: created initialization part: time 0.0001536/6.605, allocations: 11.94 kB / 3.093 GB, free: 134.1 MB / 0.8778 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/6.605, allocations: 0 / 3.093 GB, free: 134.1 MB / 0.8778 GB Notification: Performance of simCode: created simulation system equations: time 1.624e-05/6.605, allocations: 7.125 kB / 3.093 GB, free: 134.1 MB / 0.8778 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/6.606, allocations: 0 / 3.093 GB, free: 134.1 MB / 0.8778 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/6.606, allocations: 48.31 kB / 3.093 GB, free: 134 MB / 0.8778 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/6.606, allocations: 0.6919 MB / 3.094 GB, free: 133.3 MB / 0.8778 GB Notification: Performance of SimCode: time 1.242e-06/6.606, allocations: 3.938 kB / 3.094 GB, free: 133.3 MB / 0.8778 GB