Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",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.192/2.192, allocations: 248.6 MB / 255.9 MB, free: 7.102 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.001643/0.001643, allocations: 191 kB / 315.1 MB, free: 4.262 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.028/2.028, allocations: 205.1 MB / 0.5658 GB, free: 384 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.001266/0.001265, allocations: 93.5 kB / 0.67 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4814/0.4827, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.7204, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7045/1.425, allocations: 132.2 MB / 1.013 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/1.425, allocations: 77.64 kB / 1.013 GB, free: 8.02 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.01289/1.438, allocations: 2.361 MB / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.438, allocations: 16 kB / 1.015 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.793e-05/1.438, allocations: 15.81 kB / 1.015 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/1.439, allocations: 187.6 kB / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/1.439, allocations: 7.938 kB / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/1.439, allocations: 4 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002718/1.439, allocations: 63.36 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/1.439, allocations: 120 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.439, allocations: 0 / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/1.439, allocations: 8.75 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/1.439, allocations: 0 / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/1.441, allocations: 0.5684 MB / 1.016 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/1.441, allocations: 112.1 kB / 1.016 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/1.441, allocations: 55.33 kB / 1.016 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/1.441, allocations: 4 kB / 1.016 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/1.442, allocations: 122.4 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 3.347e-06/1.442, allocations: 0 / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0005178/1.442, allocations: 113.9 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/1.442, allocations: 110.7 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/1.442, allocations: 143 kB / 1.017 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.328e-05/1.443, allocations: 29.2 kB / 1.017 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/1.443, allocations: 103.8 kB / 1.017 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/1.443, allocations: 38.58 kB / 1.017 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/1.443, allocations: 0 / 1.017 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.443, allocations: 325.6 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/1.443, allocations: 53.56 kB / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/1.443, allocations: 89.64 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/1.443, allocations: 34.23 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.443, allocations: 0 / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004923/1.444, allocations: 152 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/1.444, allocations: 4 kB / 1.017 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.444, allocations: 4 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.444, allocations: 0 / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/1.445, allocations: 59.45 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.887e-05/1.445, allocations: 7.938 kB / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.446, allocations: 72.03 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.835e-05/1.446, allocations: 6.625 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.hysteresis.y,hysteresis.y,$whenCondition2,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001677/1.446, allocations: 121 kB / 1.018 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/1.446, allocations: 11.91 kB / 1.018 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/1.446, allocations: 80.44 kB / 1.018 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/1.446, allocations: 3.984 kB / 1.018 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/1.447, allocations: 4 kB / 1.018 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.447, allocations: 0 / 1.018 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/1.447, allocations: 200.6 kB / 1.018 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/1.447, allocations: 0 / 1.018 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/1.447, allocations: 43.88 kB / 1.018 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/1.447, allocations: 0 / 1.018 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/1.447, allocations: 7.984 kB / 1.018 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.447, allocations: 0 / 1.018 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-06/1.447, allocations: 7.938 kB / 1.018 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004592/1.448, allocations: 171.6 kB / 1.018 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004923/1.448, allocations: 0.5504 MB / 1.019 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/1.448, allocations: 88.92 kB / 1.019 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.147e-05/1.448, allocations: 3.984 kB / 1.019 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005627/1.449, allocations: 56.14 kB / 1.019 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/1.449, allocations: 46.42 kB / 1.019 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/1.449, allocations: 11.23 kB / 1.019 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001417/1.449, allocations: 115.2 kB / 1.019 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001301/1.451, allocations: 28 kB / 1.019 GB, free: 1.75 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,hysteresis1.y,pul.T_start,pul.count,$whenCondition1,hysteresis2.y,pul1.T_start,pul1.count,hysteresis.y) * Number of discrete states: 5 (hysteresis.y,pul1.count,hysteresis2.y,pul.count,hysteresis1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003222/1.451, allocations: 119.1 kB / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004904/1.452, allocations: 120.2 kB / 1.019 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.452, allocations: 0 / 1.019 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/1.452, allocations: 62.94 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/1.452, allocations: 19.11 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008379/1.453, allocations: 194 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/1.454, allocations: 0.7351 MB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of SimCode: time 1.533e-06/1.454, allocations: 384 / 1.02 GB, free: 0.5312 MB / 0.6355 GB