Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") [: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.583/2.583, allocations: 253.1 MB / 260.4 MB, free: 7.496 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.001615/0.001615, allocations: 185.2 kB / 319.6 MB, free: 3.312 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 1.906/1.906, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001811/0.00181, allocations: 98.52 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.698e-06/9.869e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2053, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6253/0.8307, allocations: 133.7 MB / 1.019 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/0.8311, allocations: 79.45 kB / 1.019 GB, free: 4.523 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.01417/0.8453, allocations: 2.645 MB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.8453, allocations: 4 kB / 1.021 GB, free: 2.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007435/0.8461, allocations: 420.1 kB / 1.022 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.8461, allocations: 12.03 kB / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.8462, allocations: 11.84 kB / 1.022 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.8464, allocations: 171 kB / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.8464, allocations: 0 / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.8465, allocations: 4 kB / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001169/0.8466, allocations: 26.12 kB / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.8468, allocations: 61.19 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.8468, allocations: 0 / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.8468, allocations: 4 kB / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.8468, allocations: 3.906 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.8474, allocations: 275.2 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.8476, allocations: 45.42 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.8477, allocations: 23.86 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.8477, allocations: 0 / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.8479, allocations: 66.08 kB / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.745e-06/0.8479, allocations: 0 / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003311/0.8482, allocations: 79.89 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.8483, allocations: 63.34 kB / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.8484, allocations: 111.4 kB / 1.023 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.8485, allocations: 25.7 kB / 1.023 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.8485, allocations: 83.7 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.8486, allocations: 23.12 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-06/0.8486, allocations: 0 / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.8487, allocations: 318.3 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.8488, allocations: 18.75 kB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.019e-05/0.8489, allocations: 49.36 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.849, allocations: 26.08 kB / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.849, allocations: 0 / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002556/0.8493, allocations: 86.47 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.8493, allocations: 8 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8493, allocations: 0 / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.8494, allocations: 3.984 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.8496, allocations: 16.06 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.8496, allocations: 0 / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.8497, allocations: 7.984 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.8498, allocations: 7.375 kB / 1.023 GB, free: 236 kB / 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.0001079/0.8499, allocations: 113.6 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.8499, allocations: 3.906 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.85, allocations: 15.94 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.85, allocations: 0 / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.85, allocations: 0 / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.85, allocations: 3.984 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.8505, allocations: 318.9 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8506, allocations: 0 / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.613e-05/0.8506, allocations: 7.984 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.8507, allocations: 3.938 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.8507, allocations: 7.984 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.8507, allocations: 4 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8507, allocations: 0 / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000267/0.851, allocations: 174 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.8511, allocations: 85.02 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.8511, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.8513, allocations: 10.94 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.8513, allocations: 11.98 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.8513, allocations: 0 / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.414e-05/0.8514, allocations: 97.11 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005125/0.8519, allocations: 43.88 kB / 1.024 GB, free: 15.31 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: 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.0004834/0.8524, allocations: 172 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.8527, allocations: 53.48 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8528, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.236e-05/0.8529, allocations: 31.31 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.8531, allocations: 11.17 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.8536, allocations: 98.36 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/0.854, allocations: 0.7036 MB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/0.854, allocations: 4.125 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of Templates: time 0.006387/0.8604, allocations: 1.629 MB / 1.027 GB, free: 12.61 MB / 0.6511 GB