Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.126/2.126, allocations: 253.1 MB / 260.4 MB, free: 7.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00164/0.00164, allocations: 189.2 kB / 319.6 MB, free: 3.34 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.465/2.465, allocations: 205.4 MB / 0.5704 GB, free: 15.16 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001315/0.001314, allocations: 93.95 kB / 0.6746 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.016e-05/1.036e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1917, allocations: 106.2 MB / 0.888 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6557/0.8475, allocations: 134 MB / 1.019 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.8478, allocations: 85.53 kB / 1.019 GB, free: 4.336 MB / 0.6355 GB [/var/lib/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: Performance of FrontEnd: time 0.01843/0.8663, allocations: 3.262 MB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.8664, allocations: 0 / 1.022 GB, free: 1.602 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009264/0.8673, allocations: 480 kB / 1.023 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.8674, allocations: 11.97 kB / 1.023 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.8674, allocations: 15.84 kB / 1.023 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.8676, allocations: 177.3 kB / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/0.8677, allocations: 7.906 kB / 1.023 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.8677, allocations: 8 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001791/0.8679, allocations: 37.67 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.8681, allocations: 78.84 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8682, allocations: 0 / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.8682, allocations: 3.984 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.8682, allocations: 3.938 kB / 1.023 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008651/0.8691, allocations: 324 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.8693, allocations: 52.39 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.8694, allocations: 42.53 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.8694, allocations: 3.984 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.8697, allocations: 92.59 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.595e-06/0.8697, allocations: 0 / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.00046/0.8701, allocations: 113.2 kB / 1.024 GB, free: 152 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.8702, allocations: 55.39 kB / 1.024 GB, free: 84 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.8704, allocations: 138.2 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.8704, allocations: 25.7 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.8705, allocations: 95.27 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.8706, allocations: 15.44 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.8706, allocations: 4 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.8707, allocations: 321.4 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.8709, allocations: 25.55 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.871, allocations: 58.97 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.8711, allocations: 40.23 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.8712, allocations: 3.906 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000365/0.8715, allocations: 121.6 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.8716, allocations: 10.66 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.8716, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.8716, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.8719, allocations: 16.08 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.872, allocations: 8.031 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.8722, allocations: 23.83 kB / 1.025 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.8722, allocations: 4 kB / 1.025 GB, free: 15.22 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001321/0.8723, allocations: 112 kB / 1.025 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.8724, allocations: 11.81 kB / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.8725, allocations: 12.19 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.8725, allocations: 7.984 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8725, allocations: 0 / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.8725, allocations: 64 / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007033/0.8732, allocations: 379.5 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.8732, allocations: 0 / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.8734, allocations: 11.98 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.8734, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.8734, allocations: 8 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.8734, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.8735, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004074/0.8739, allocations: 207.8 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.874, allocations: 88.08 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.874, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.8743, allocations: 15.98 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.8744, allocations: 7.984 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.8744, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.909e-05/0.8745, allocations: 106.7 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005097/0.875, allocations: 63.77 kB / 1.026 GB, free: 14.22 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * 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.0004797/0.8755, allocations: 170.8 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003664/0.8759, allocations: 81.86 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8759, allocations: 0 / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.8761, allocations: 40 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.8764, allocations: 11.84 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006099/0.877, allocations: 148.2 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/0.8774, allocations: 0.7155 MB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/0.8775, allocations: 0 / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of Templates: time 0.007576/0.885, allocations: 2.12 MB / 1.029 GB, free: 10.98 MB / 0.6511 GB