Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.382/2.382, allocations: 248.6 MB / 255.9 MB, free: 364 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001605, allocations: 178.3 kB / 315.1 MB, free: 7.77 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.172/2.172, allocations: 205.1 MB / 0.5658 GB, free: 25.41 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001341/0.001341, allocations: 89 kB / 0.67 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3158/0.3172, allocations: 112.4 MB / 0.7797 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5591/0.8763, allocations: 106.2 MB / 0.8835 GB, free: 77.28 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/1.104, allocations: 132.7 MB / 1.013 GB, free: 8.359 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/1.104, allocations: 75.94 kB / 1.013 GB, free: 8.285 MB / 0.6667 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.01507/1.119, allocations: 3.056 MB / 1.016 GB, free: 5.176 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/1.119, allocations: 8 kB / 1.016 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.368e-05/1.119, allocations: 7.906 kB / 1.016 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/1.119, allocations: 178.9 kB / 1.016 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/1.12, allocations: 0 / 1.016 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/1.12, allocations: 8 kB / 1.016 GB, free: 4.938 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001934/1.12, allocations: 23.94 kB / 1.016 GB, free: 4.914 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/1.12, allocations: 57.67 kB / 1.016 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/1.12, allocations: 0 / 1.016 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/1.12, allocations: 0 / 1.016 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/1.12, allocations: 3.906 kB / 1.016 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/1.121, allocations: 277.4 kB / 1.017 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/1.121, allocations: 42.48 kB / 1.017 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/1.122, allocations: 24.92 kB / 1.017 GB, free: 4.461 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/1.122, allocations: 0 / 1.017 GB, free: 4.461 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/1.122, allocations: 67.39 kB / 1.017 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 4.028e-06/1.122, allocations: 4 kB / 1.017 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0005151/1.122, allocations: 85.64 kB / 1.017 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/1.123, allocations: 51.41 kB / 1.017 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/1.123, allocations: 115.1 kB / 1.017 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/1.123, allocations: 25.7 kB / 1.017 GB, free: 4.078 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.931e-05/1.123, allocations: 84.33 kB / 1.017 GB, free: 3.988 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/1.123, allocations: 15.75 kB / 1.017 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.642e-05/1.123, allocations: 4 kB / 1.017 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002016/1.123, allocations: 318.8 kB / 1.017 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/1.123, allocations: 20 kB / 1.017 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/1.124, allocations: 42.5 kB / 1.018 GB, free: 3.578 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/1.124, allocations: 23.91 kB / 1.018 GB, free: 3.555 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/1.124, allocations: 0 / 1.018 GB, free: 3.555 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005058/1.124, allocations: 97.52 kB / 1.018 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/1.124, allocations: 4 kB / 1.018 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/1.125, allocations: 8 kB / 1.018 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/1.125, allocations: 4 kB / 1.018 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/1.125, allocations: 19.97 kB / 1.018 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/1.125, allocations: 0 / 1.018 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/1.125, allocations: 8 kB / 1.018 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/1.125, allocations: 3.984 kB / 1.018 GB, free: 3.406 MB / 0.6667 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.0001581/1.125, allocations: 116.8 kB / 1.018 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/1.125, allocations: 7.906 kB / 1.018 GB, free: 3.277 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/1.125, allocations: 8.375 kB / 1.018 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/1.125, allocations: 4 kB / 1.018 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.125, allocations: 0 / 1.018 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/1.126, allocations: 0 / 1.018 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008753/1.126, allocations: 315 kB / 1.018 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/1.126, allocations: 0 / 1.018 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/1.127, allocations: 15.98 kB / 1.018 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/1.127, allocations: 0 / 1.018 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/1.127, allocations: 4 kB / 1.018 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/1.127, allocations: 0 / 1.018 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/1.127, allocations: 3.938 kB / 1.018 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005018/1.127, allocations: 179.4 kB / 1.018 GB, free: 2.699 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007661/1.128, allocations: 0.5466 MB / 1.019 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.531e-05/1.128, allocations: 81.09 kB / 1.019 GB, free: 2.035 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.727e-05/1.128, allocations: 7.906 kB / 1.019 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/1.129, allocations: 4 kB / 1.019 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/1.129, allocations: 7.984 kB / 1.019 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/1.129, allocations: 0 / 1.019 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001309/1.129, allocations: 89.36 kB / 1.019 GB, free: 1.93 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002502/1.131, allocations: 63.86 kB / 1.019 GB, free: 1.867 MB / 0.6667 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.0007458/1.132, allocations: 168.2 kB / 1.019 GB, free: 1.707 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002973/1.132, allocations: 51.92 kB / 1.019 GB, free: 1.656 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.132, allocations: 0 / 1.019 GB, free: 1.656 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/1.133, allocations: 24.12 kB / 1.019 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/1.133, allocations: 12 kB / 1.019 GB, free: 1.621 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/1.133, allocations: 103.7 kB / 1.019 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/1.134, allocations: 0.7059 MB / 1.02 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of SimCode: time 9.42e-07/1.134, allocations: 0 / 1.02 GB, free: 0.7656 MB / 0.6667 GB