Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.Change,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change",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.71/2.71, 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.001564/0.001563, allocations: 188.3 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 1.932/1.932, allocations: 205.1 MB / 0.5658 GB, free: 380 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.001276/0.001275, allocations: 91.28 kB / 0.67 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4554/0.4567, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.6537, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7249/1.379, allocations: 135.8 MB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.379, allocations: 78.64 kB / 1.016 GB, free: 4.461 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.03359/1.413, allocations: 6.95 MB / 1.023 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.413, allocations: 8 kB / 1.023 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.527e-05/1.413, allocations: 23.72 kB / 1.023 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006709/1.413, allocations: 299.3 kB / 1.023 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/1.413, allocations: 8 kB / 1.023 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/1.414, allocations: 8 kB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002323/1.414, allocations: 57.72 kB / 1.023 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/1.414, allocations: 119.1 kB / 1.023 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.414, allocations: 0 / 1.023 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/1.414, allocations: 0 / 1.023 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/1.414, allocations: 4 kB / 1.023 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/1.416, allocations: 0.5168 MB / 1.024 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/1.416, allocations: 103.5 kB / 1.024 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/1.417, allocations: 40.02 kB / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/1.417, allocations: 0 / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003552/1.417, allocations: 104.7 kB / 1.024 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 4.999e-06/1.417, allocations: 4 kB / 1.024 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0006168/1.418, allocations: 134.9 kB / 1.024 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/1.418, allocations: 62.72 kB / 1.024 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005604/1.418, allocations: 281.6 kB / 1.025 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/1.418, allocations: 33.14 kB / 1.025 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/1.418, allocations: 118.4 kB / 1.025 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/1.419, allocations: 31.02 kB / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/1.419, allocations: 7.938 kB / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001791/1.419, allocations: 340.4 kB / 1.025 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/1.419, allocations: 78.34 kB / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/1.419, allocations: 128.6 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/1.42, allocations: 79.78 kB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.42, allocations: 4 kB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007398/1.42, allocations: 257.4 kB / 1.026 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/1.42, allocations: 4 kB / 1.026 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.42, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/1.42, allocations: 4 kB / 1.026 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/1.421, allocations: 55.34 kB / 1.026 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.421, allocations: 4 kB / 1.026 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/1.421, allocations: 23.83 kB / 1.026 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/1.421, allocations: 19.92 kB / 1.026 GB, free: 11.92 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,cha.u_start) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.422, allocations: 114.2 kB / 1.026 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/1.422, allocations: 27.7 kB / 1.026 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/1.422, allocations: 157.9 kB / 1.026 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.422, allocations: 0 / 1.026 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.422, allocations: 0 / 1.026 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.422, allocations: 0 / 1.026 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009967/1.423, allocations: 495.5 kB / 1.027 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.423, allocations: 7.938 kB / 1.027 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/1.423, allocations: 15.98 kB / 1.027 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/1.423, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/1.423, allocations: 11.67 kB / 1.027 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.424, allocations: 4 kB / 1.027 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.424, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004323/1.424, allocations: 242.4 kB / 1.027 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005539/1.425, allocations: 0.6124 MB / 1.027 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/1.425, allocations: 103.6 kB / 1.028 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/1.425, allocations: 14.72 kB / 1.028 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/1.425, allocations: 19.97 kB / 1.028 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.795e-05/1.425, allocations: 14.92 kB / 1.028 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/1.425, allocations: 8 kB / 1.028 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003399/1.426, allocations: 195.8 kB / 1.028 GB, free: 10 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001392/1.427, allocations: 62.05 kB / 1.028 GB, free: 9.949 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009599/1.428, allocations: 315.6 kB / 1.028 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005018/1.428, allocations: 161.5 kB / 1.028 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.428, allocations: 0 / 1.028 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/1.429, allocations: 57.5 kB / 1.028 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/1.429, allocations: 42.73 kB / 1.028 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/1.43, allocations: 299.5 kB / 1.029 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006465/1.431, allocations: 0.7777 MB / 1.029 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of SimCode: time 1.082e-06/1.431, allocations: 8 kB / 1.029 GB, free: 8.453 MB / 0.6511 GB