Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.Equal,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",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.457/2.457, allocations: 248.6 MB / 255.9 MB, free: 7.113 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.001621/0.001621, allocations: 185.2 kB / 315.1 MB, free: 4.285 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.062/2.062, allocations: 205.1 MB / 0.5658 GB, free: 392 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.001378/0.001377, allocations: 94.83 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5289/0.5304, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.776, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7397/1.516, allocations: 135.4 MB / 1.016 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/1.516, allocations: 75.7 kB / 1.016 GB, free: 4.836 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.05434/1.571, allocations: 10.64 MB / 1.026 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.571, allocations: 8 kB / 1.026 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/1.571, allocations: 35.53 kB / 1.026 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/1.572, allocations: 373.2 kB / 1.027 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/1.572, allocations: 7.906 kB / 1.027 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/1.572, allocations: 4 kB / 1.027 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002227/1.572, allocations: 62.91 kB / 1.027 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/1.572, allocations: 94.58 kB / 1.027 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.572, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/1.572, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/1.572, allocations: 4 kB / 1.027 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/1.574, allocations: 471.1 kB / 1.027 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/1.574, allocations: 133.5 kB / 1.027 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/1.574, allocations: 48.33 kB / 1.027 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/1.574, allocations: 160 / 1.027 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/1.574, allocations: 105.5 kB / 1.027 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.325e-06/1.574, allocations: 3.938 kB / 1.027 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0005094/1.575, allocations: 147.5 kB / 1.028 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/1.575, allocations: 55.39 kB / 1.028 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009012/1.576, allocations: 448 kB / 1.028 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/1.576, allocations: 25.7 kB / 1.028 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/1.576, allocations: 119.5 kB / 1.028 GB, free: 10 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/1.576, allocations: 38.42 kB / 1.028 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/1.576, allocations: 0 / 1.028 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002056/1.576, allocations: 344.4 kB / 1.029 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/1.577, allocations: 113 kB / 1.029 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/1.577, allocations: 143.3 kB / 1.029 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/1.577, allocations: 116.1 kB / 1.029 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.577, allocations: 0 / 1.029 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00127/1.579, allocations: 335.6 kB / 1.029 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/1.579, allocations: 4 kB / 1.029 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.579, allocations: 64 / 1.029 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/1.579, allocations: 8 kB / 1.029 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/1.579, allocations: 51.47 kB / 1.029 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.579, allocations: 4 kB / 1.029 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/1.58, allocations: 12.06 kB / 1.029 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/1.58, allocations: 23.36 kB / 1.029 GB, free: 9.02 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,intEqu.u1,intEqu.u2,intEqu.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.0001573/1.58, allocations: 112.8 kB / 1.029 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.913e-05/1.58, allocations: 31.62 kB / 1.029 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005893/1.581, allocations: 173.6 kB / 1.03 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.581, allocations: 4 kB / 1.03 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.581, allocations: 0 / 1.03 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.581, allocations: 0 / 1.03 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/1.581, allocations: 281.1 kB / 1.03 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.581, allocations: 0 / 1.03 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/1.581, allocations: 15.98 kB / 1.03 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/1.581, allocations: 0 / 1.03 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/1.581, allocations: 4 kB / 1.03 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.581, allocations: 4 kB / 1.03 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/1.581, allocations: 7.906 kB / 1.03 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004744/1.582, allocations: 186.6 kB / 1.03 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006991/1.583, allocations: 0.557 MB / 1.031 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/1.583, allocations: 127.2 kB / 1.031 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.63e-05/1.583, allocations: 0 / 1.031 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/1.583, allocations: 11.89 kB / 1.031 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/1.583, allocations: 15.92 kB / 1.031 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/1.583, allocations: 11.36 kB / 1.031 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005662/1.584, allocations: 287.6 kB / 1.031 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001449/1.585, allocations: 66.92 kB / 1.031 GB, free: 7.266 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,intEqu.u1,intEqu.u2,intEqu.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.001076/1.586, allocations: 326.8 kB / 1.031 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006109/1.587, allocations: 188 kB / 1.032 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.587, allocations: 3.938 kB / 1.032 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/1.587, allocations: 64.8 kB / 1.032 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007586/1.588, allocations: 77.78 kB / 1.032 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/1.59, allocations: 425.4 kB / 1.032 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006877/1.59, allocations: 0.8265 MB / 1.033 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of SimCode: time 1.733e-06/1.59, allocations: 0 / 1.033 GB, free: 5.543 MB / 0.6511 GB