Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.36/2.36, allocations: 248.6 MB / 255.9 MB, free: 7.145 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.001654/0.001654, allocations: 181.2 kB / 315.1 MB, free: 4.281 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.114/2.114, 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.002327/0.002326, allocations: 94.53 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4882/0.4906, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.7562, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7218/1.478, allocations: 134 MB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/1.478, allocations: 79.45 kB / 1.014 GB, free: 6.148 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01753/1.496, allocations: 3.328 MB / 1.018 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.496, allocations: 8 kB / 1.018 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/1.496, allocations: 11.81 kB / 1.018 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/1.496, allocations: 171 kB / 1.018 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/1.496, allocations: 1.031 kB / 1.018 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/1.496, allocations: 19.83 kB / 1.018 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001443/1.497, allocations: 29.88 kB / 1.018 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/1.497, allocations: 68.22 kB / 1.018 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/1.497, allocations: 0 / 1.018 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/1.497, allocations: 0 / 1.018 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.497, allocations: 0 / 1.018 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008212/1.498, allocations: 313.3 kB / 1.018 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/1.498, allocations: 48.83 kB / 1.018 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/1.498, allocations: 31.59 kB / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/1.498, allocations: 4 kB / 1.018 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/1.498, allocations: 81.06 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 4.589e-06/1.498, allocations: 96 / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004235/1.499, allocations: 102.4 kB / 1.019 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/1.499, allocations: 59.55 kB / 1.019 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/1.499, allocations: 115.3 kB / 1.019 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/1.499, allocations: 25.7 kB / 1.019 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/1.499, allocations: 94.98 kB / 1.019 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/1.499, allocations: 14.94 kB / 1.019 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/1.499, allocations: 0 / 1.019 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002003/1.499, allocations: 317.8 kB / 1.019 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.531e-05/1.499, allocations: 23.06 kB / 1.019 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/1.5, allocations: 55.61 kB / 1.019 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/1.5, allocations: 26.73 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.5, allocations: 0 / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003222/1.5, allocations: 118.1 kB / 1.019 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.5, allocations: 4 kB / 1.019 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.5, allocations: 4 kB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/1.5, allocations: 0 / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/1.5, allocations: 15.98 kB / 1.019 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/1.5, allocations: 7.938 kB / 1.019 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/1.501, allocations: 4 kB / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/1.501, allocations: 4 kB / 1.019 GB, free: 1.504 MB / 0.6355 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 (13): * Single equations (assignments): 13 * 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.0001381/1.501, allocations: 116 kB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/1.501, allocations: 11.89 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.152e-05/1.501, allocations: 7.938 kB / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.501, allocations: 4 kB / 1.02 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.501, allocations: 3.938 kB / 1.02 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/1.501, allocations: 0 / 1.02 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/1.502, allocations: 356.4 kB / 1.02 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.502, allocations: 4 kB / 1.02 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/1.502, allocations: 4 kB / 1.02 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/1.502, allocations: 0 / 1.02 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/1.502, allocations: 7.984 kB / 1.02 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.502, allocations: 0 / 1.02 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.502, allocations: 0 / 1.02 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003648/1.502, allocations: 194.6 kB / 1.02 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005627/1.503, allocations: 0.569 MB / 1.021 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/1.503, allocations: 85.02 kB / 1.021 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/1.503, allocations: 7.922 kB / 1.021 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/1.503, allocations: 8 kB / 1.021 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/1.503, allocations: 7.359 kB / 1.021 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/1.503, allocations: 8 kB / 1.021 GB, free: 108 kB / 0.6355 GB Notification: Performance of sort global known variables: time 7.611e-05/1.503, allocations: 92.14 kB / 1.021 GB, free: 20 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001326/1.505, allocations: 55.3 kB / 1.021 GB, free: 15.97 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 (8): * Single equations (assignments): 4 * 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.0005223/1.505, allocations: 159 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002964/1.505, allocations: 73.36 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.505, allocations: 4 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/1.506, allocations: 40.42 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/1.506, allocations: 5.891 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/1.506, allocations: 112.7 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/1.507, allocations: 0.7068 MB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of SimCode: time 2.945e-06/1.507, allocations: 4 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB