Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.351/2.351, allocations: 248.6 MB / 255.9 MB, free: 7.129 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.001636/0.001635, allocations: 177.3 kB / 315.1 MB, free: 4.234 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.893/1.893, allocations: 205.1 MB / 0.5658 GB, free: 344 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.001292/0.001291, allocations: 94.83 kB / 0.67 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4661/0.4674, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.6904, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8356/1.526, allocations: 133.7 MB / 1.014 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004678/1.527, allocations: 83.81 kB / 1.014 GB, free: 6.324 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.02137/1.548, allocations: 3.059 MB / 1.017 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/1.548, allocations: 8 kB / 1.017 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.292e-05/1.548, allocations: 11.84 kB / 1.017 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/1.549, allocations: 171 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/1.549, allocations: 4 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/1.549, allocations: 0 / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001774/1.549, allocations: 25.31 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/1.549, allocations: 60.55 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.549, allocations: 0 / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/1.549, allocations: 0 / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/1.549, allocations: 3.906 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009428/1.55, allocations: 278 kB / 1.018 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/1.55, allocations: 44.8 kB / 1.018 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/1.55, allocations: 19.8 kB / 1.018 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/1.551, allocations: 4 kB / 1.018 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/1.551, allocations: 74.81 kB / 1.018 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.178e-06/1.551, allocations: 0 / 1.018 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004597/1.551, allocations: 79.38 kB / 1.018 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/1.551, allocations: 58.78 kB / 1.018 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/1.552, allocations: 108.9 kB / 1.018 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/1.552, allocations: 29.14 kB / 1.018 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/1.552, allocations: 84.33 kB / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/1.552, allocations: 18.75 kB / 1.018 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/1.552, allocations: 0 / 1.018 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000229/1.552, allocations: 319.8 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/1.552, allocations: 19.06 kB / 1.019 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/1.552, allocations: 45.81 kB / 1.019 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/1.553, allocations: 27.34 kB / 1.019 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.553, allocations: 0 / 1.019 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004755/1.553, allocations: 92.19 kB / 1.019 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/1.553, allocations: 4 kB / 1.019 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.553, allocations: 0 / 1.019 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/1.553, allocations: 4 kB / 1.019 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/1.553, allocations: 19.98 kB / 1.019 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.554, allocations: 0 / 1.019 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/1.554, allocations: 8 kB / 1.019 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/1.554, allocations: 7.922 kB / 1.019 GB, free: 2.043 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: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001714/1.554, allocations: 111.1 kB / 1.019 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/1.554, allocations: 7.906 kB / 1.019 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.058e-05/1.554, allocations: 12.06 kB / 1.019 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/1.554, allocations: 4 kB / 1.019 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.284e-05/1.554, allocations: 0 / 1.019 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/1.554, allocations: 0 / 1.019 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008309/1.555, allocations: 320.5 kB / 1.019 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/1.555, allocations: 4 kB / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/1.555, allocations: 9.859 kB / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/1.555, allocations: 0 / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/1.555, allocations: 4 kB / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/1.555, allocations: 0 / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.555, allocations: 0 / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004577/1.556, allocations: 181.4 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006718/1.557, allocations: 0.5446 MB / 1.02 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-05/1.557, allocations: 81.11 kB / 1.02 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/1.557, allocations: 7.891 kB / 1.02 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/1.557, allocations: 7.062 kB / 1.02 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/1.557, allocations: 7.984 kB / 1.02 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/1.557, allocations: 4 kB / 1.02 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001287/1.557, allocations: 86.66 kB / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002621/1.56, allocations: 58.36 kB / 1.02 GB, free: 0.5781 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008368/1.561, allocations: 169.9 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000357/1.561, allocations: 52.48 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.561, allocations: 0 / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/1.561, allocations: 30.58 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/1.562, allocations: 7.656 kB / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006836/1.563, allocations: 111.1 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006392/1.563, allocations: 0.7036 MB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/1.563, allocations: 0 / 1.021 GB, free: 15.5 MB / 0.6511 GB