Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",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.085/2.085, allocations: 248.6 MB / 255.9 MB, free: 7.121 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.001664/0.001663, allocations: 180.1 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 2.082/2.082, allocations: 205.1 MB / 0.5658 GB, free: 360 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.001272/0.001272, allocations: 93.09 kB / 0.67 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4499/0.4513, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.6658, allocations: 106.3 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6173/1.283, allocations: 134.8 MB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/1.284, allocations: 92.42 kB / 1.015 GB, free: 5.324 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.01517/1.299, allocations: 3.475 MB / 1.019 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.299, allocations: 8 kB / 1.019 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.864e-05/1.299, allocations: 23.72 kB / 1.019 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/1.299, allocations: 231.5 kB / 1.019 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/1.299, allocations: 7.906 kB / 1.019 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/1.299, allocations: 12 kB / 1.019 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003903/1.3, allocations: 111 kB / 1.019 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/1.3, allocations: 189.4 kB / 1.019 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.3, allocations: 0 / 1.019 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/1.3, allocations: 0 / 1.019 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/1.3, allocations: 4 kB / 1.019 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/1.302, allocations: 0.5673 MB / 1.02 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/1.302, allocations: 105.6 kB / 1.02 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/1.302, allocations: 39.05 kB / 1.02 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.502e-05/1.303, allocations: 3.984 kB / 1.02 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/1.303, allocations: 46.59 kB / 1.02 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.334e-06/1.303, allocations: 0 / 1.02 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004542/1.303, allocations: 99.22 kB / 1.02 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/1.303, allocations: 140.4 kB / 1.02 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/1.303, allocations: 155.1 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/1.303, allocations: 32.83 kB / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/1.304, allocations: 127.5 kB / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/1.304, allocations: 26.73 kB / 1.02 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/1.304, allocations: 3.938 kB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001924/1.304, allocations: 329 kB / 1.021 GB, free: 212 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/1.304, allocations: 41.19 kB / 1.021 GB, free: 188 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/1.304, allocations: 67.92 kB / 1.021 GB, free: 128 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/1.304, allocations: 22.25 kB / 1.021 GB, free: 116 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.304, allocations: 0 / 1.021 GB, free: 116 kB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000367/1.305, allocations: 120.7 kB / 1.021 GB, free: 16 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.305, allocations: 8 kB / 1.021 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.305, allocations: 4.047 kB / 1.021 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.305, allocations: 3.984 kB / 1.021 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/1.305, allocations: 19.92 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/1.305, allocations: 4 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/1.305, allocations: 39.88 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/1.305, allocations: 4 kB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000127/1.306, allocations: 108.4 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/1.306, allocations: 19.81 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/1.306, allocations: 121.7 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.306, allocations: 4 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.306, allocations: 0 / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/1.306, allocations: 3.984 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/1.307, allocations: 237.3 kB / 1.022 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.307, allocations: 0 / 1.022 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/1.307, allocations: 15.38 kB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/1.307, allocations: 11.98 kB / 1.022 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/1.307, allocations: 0 / 1.022 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-06/1.307, allocations: 4.125 kB / 1.022 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.307, allocations: 0 / 1.022 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003681/1.307, allocations: 202.8 kB / 1.022 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004922/1.308, allocations: 0.5872 MB / 1.022 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/1.308, allocations: 84.92 kB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-05/1.308, allocations: 7.562 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/1.308, allocations: 35.97 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.308, allocations: 19.95 kB / 1.023 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/1.308, allocations: 10.75 kB / 1.023 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001469/1.309, allocations: 128.1 kB / 1.023 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0012/1.31, allocations: 39.84 kB / 1.023 GB, free: 14.34 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0002254/1.31, allocations: 107.2 kB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003262/1.31, allocations: 92.36 kB / 1.023 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.31, allocations: 0 / 1.023 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/1.311, allocations: 41.62 kB / 1.023 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/1.311, allocations: 15.25 kB / 1.023 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008254/1.312, allocations: 203.8 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005603/1.312, allocations: 0.7617 MB / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/1.312, allocations: 0 / 1.024 GB, free: 13.14 MB / 0.6511 GB