Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.464/2.464, allocations: 248.6 MB / 255.9 MB, free: 7.188 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.001637/0.001637, allocations: 185.2 kB / 315.1 MB, free: 4.258 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.971/1.971, allocations: 205.1 MB / 0.5658 GB, free: 312 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.001822/0.001822, allocations: 92.94 kB / 0.67 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.508/0.5099, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.7311, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6973/1.429, allocations: 133.7 MB / 1.014 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/1.429, allocations: 90.17 kB / 1.014 GB, free: 6.383 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.01469/1.444, allocations: 3.051 MB / 1.017 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.444, allocations: 8 kB / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/1.444, allocations: 7.906 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/1.444, allocations: 174.9 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/1.444, allocations: 4 kB / 1.017 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/1.444, allocations: 4 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001189/1.444, allocations: 25.69 kB / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/1.444, allocations: 60.22 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.444, allocations: 0 / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/1.444, allocations: 0 / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/1.444, allocations: 7.906 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/1.445, allocations: 277.6 kB / 1.018 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/1.445, allocations: 44.67 kB / 1.018 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.919e-05/1.445, allocations: 28.3 kB / 1.018 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/1.445, allocations: 0 / 1.018 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/1.445, allocations: 63.2 kB / 1.018 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.953e-06/1.445, allocations: 0 / 1.018 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003202/1.446, allocations: 81.02 kB / 1.018 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/1.446, allocations: 55.41 kB / 1.018 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/1.446, allocations: 113.1 kB / 1.018 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/1.446, allocations: 29.7 kB / 1.018 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/1.446, allocations: 83.58 kB / 1.018 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/1.446, allocations: 19.31 kB / 1.018 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/1.446, allocations: 0 / 1.018 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.446, allocations: 314.8 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/1.446, allocations: 18.56 kB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.11e-05/1.446, allocations: 48.88 kB / 1.019 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/1.447, allocations: 26.91 kB / 1.019 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/1.447, allocations: 0 / 1.019 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002795/1.447, allocations: 93.36 kB / 1.019 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.447, allocations: 4 kB / 1.019 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.447, allocations: 4 kB / 1.019 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.447, allocations: 0 / 1.019 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/1.447, allocations: 20.23 kB / 1.019 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.447, allocations: 4.156 kB / 1.019 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/1.447, allocations: 4 kB / 1.019 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/1.447, allocations: 7.984 kB / 1.019 GB, free: 2.102 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.0001066/1.447, allocations: 108.8 kB / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/1.447, allocations: 7.906 kB / 1.019 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.894e-05/1.448, allocations: 15.62 kB / 1.019 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.448, allocations: 3.938 kB / 1.019 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.363e-06/1.448, allocations: 2.438 kB / 1.019 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.448, allocations: 0 / 1.019 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/1.448, allocations: 323.7 kB / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.448, allocations: 0 / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/1.448, allocations: 7.984 kB / 1.019 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/1.448, allocations: 0 / 1.019 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/1.448, allocations: 4 kB / 1.019 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.453e-06/1.448, allocations: 3.938 kB / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.448, allocations: 4 kB / 1.019 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004256/1.449, allocations: 173.3 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004434/1.449, allocations: 0.5444 MB / 1.02 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/1.449, allocations: 81.11 kB / 1.02 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/1.449, allocations: 11.89 kB / 1.02 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/1.45, allocations: 4 kB / 1.02 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/1.45, allocations: 3.984 kB / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/1.45, allocations: 4 kB / 1.02 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001062/1.45, allocations: 91.2 kB / 1.02 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001305/1.451, allocations: 58.98 kB / 1.02 GB, free: 0.6328 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.0005353/1.452, allocations: 173.6 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002414/1.452, allocations: 61.28 kB / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.452, allocations: 0 / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.133e-05/1.452, allocations: 23.12 kB / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/1.452, allocations: 4.125 kB / 1.02 GB, free: 412 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/1.453, allocations: 105.7 kB / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004037/1.453, allocations: 0.7036 MB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/1.453, allocations: 0 / 1.021 GB, free: 15.56 MB / 0.6511 GB