Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Integers.Validation.Less,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less",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.223/2.223, allocations: 248.6 MB / 255.9 MB, free: 7.188 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.001639/0.001639, allocations: 181.2 kB / 315.1 MB, free: 4.277 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.239/2.239, allocations: 205.1 MB / 0.5658 GB, free: 316 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.001298/0.001298, allocations: 90.44 kB / 0.67 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5165/0.5179, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.7306, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7344/1.465, allocations: 135.4 MB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/1.466, allocations: 76.08 kB / 1.016 GB, free: 4.191 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.05009/1.516, allocations: 10.67 MB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.516, allocations: 8 kB / 1.026 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/1.516, allocations: 35.53 kB / 1.026 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/1.517, allocations: 376 kB / 1.027 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/1.517, allocations: 7.906 kB / 1.027 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/1.517, allocations: 4 kB / 1.027 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002292/1.517, allocations: 63.84 kB / 1.027 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/1.518, allocations: 90.33 kB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/1.518, allocations: 4 kB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/1.518, allocations: 0 / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.518, allocations: 0 / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/1.519, allocations: 476.6 kB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/1.519, allocations: 125.2 kB / 1.027 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/1.519, allocations: 45.91 kB / 1.027 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/1.519, allocations: 8.141 kB / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/1.52, allocations: 101.4 kB / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/1.52, allocations: 0 / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0004847/1.52, allocations: 143.6 kB / 1.028 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/1.52, allocations: 59.39 kB / 1.028 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/1.521, allocations: 444.7 kB / 1.028 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/1.521, allocations: 29.64 kB / 1.028 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.835e-05/1.521, allocations: 118.5 kB / 1.028 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/1.521, allocations: 42.55 kB / 1.028 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/1.521, allocations: 0 / 1.028 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.522, allocations: 348.9 kB / 1.029 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/1.522, allocations: 103.3 kB / 1.029 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/1.522, allocations: 141.4 kB / 1.029 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/1.523, allocations: 122.2 kB / 1.029 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.523, allocations: 4 kB / 1.029 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009986/1.524, allocations: 334.1 kB / 1.029 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.524, allocations: 4 kB / 1.029 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.524, allocations: 4 kB / 1.029 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.524, allocations: 0 / 1.029 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/1.524, allocations: 51.91 kB / 1.029 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.524, allocations: 0 / 1.029 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/1.525, allocations: 20.05 kB / 1.029 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/1.525, allocations: 23.44 kB / 1.029 GB, free: 8.344 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001494/1.525, allocations: 116.1 kB / 1.03 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/1.525, allocations: 35.62 kB / 1.03 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005439/1.525, allocations: 166.8 kB / 1.03 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.525, allocations: 4 kB / 1.03 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.525, allocations: 0 / 1.03 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.525, allocations: 0 / 1.03 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/1.526, allocations: 284.6 kB / 1.03 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.526, allocations: 0 / 1.03 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/1.526, allocations: 27.48 kB / 1.03 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/1.526, allocations: 3.984 kB / 1.03 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/1.526, allocations: 4 kB / 1.03 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.526, allocations: 0 / 1.03 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.526, allocations: 3.906 kB / 1.03 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004213/1.527, allocations: 179.1 kB / 1.03 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005945/1.527, allocations: 0.5644 MB / 1.031 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/1.527, allocations: 119.8 kB / 1.031 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.616e-05/1.527, allocations: 2.562 kB / 1.031 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/1.528, allocations: 11.89 kB / 1.031 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.449e-05/1.528, allocations: 19.47 kB / 1.031 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/1.528, allocations: 10.81 kB / 1.031 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005208/1.528, allocations: 288.2 kB / 1.031 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001301/1.53, allocations: 69.92 kB / 1.031 GB, free: 6.574 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: 9 ($whenCondition2,$whenCondition1,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.000933/1.531, allocations: 312.5 kB / 1.032 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005964/1.531, allocations: 192.8 kB / 1.032 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.531, allocations: 8.062 kB / 1.032 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/1.531, allocations: 65.78 kB / 1.032 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007758/1.532, allocations: 80.45 kB / 1.032 GB, free: 6.102 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/1.534, allocations: 421.5 kB / 1.032 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000746/1.534, allocations: 0.8253 MB / 1.033 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/1.534, allocations: 0 / 1.033 GB, free: 4.863 MB / 0.6511 GB