Running: ./testmodel.py --libraries=/var/lib/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 (/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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") [: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.339/2.339, allocations: 253.1 MB / 260.4 MB, free: 7.586 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.002419/0.002419, allocations: 189.2 kB / 319.6 MB, free: 3.305 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.039/2.039, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001258/0.001258, allocations: 94.45 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.096e-06/8.145e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1977, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.713/0.9108, allocations: 134 MB / 1.019 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.9112, allocations: 82.81 kB / 1.019 GB, free: 4.332 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.01615/0.9273, allocations: 2.883 MB / 1.022 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.9274, allocations: 0 / 1.022 GB, free: 1.926 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008126/0.9282, allocations: 447.3 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.9283, allocations: 8.031 kB / 1.022 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.9283, allocations: 11.81 kB / 1.022 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.9285, allocations: 182.9 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.9286, allocations: 8 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.9286, allocations: 7.906 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001388/0.9288, allocations: 29.92 kB / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.929, allocations: 70.27 kB / 1.023 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.929, allocations: 0 / 1.023 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.929, allocations: 4 kB / 1.023 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.929, allocations: 0 / 1.023 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008217/0.9299, allocations: 305.7 kB / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.93, allocations: 44.58 kB / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.949e-05/0.9301, allocations: 31.48 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.9302, allocations: 0 / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.9304, allocations: 85.41 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.9304, allocations: 3.938 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004165/0.9308, allocations: 106.4 kB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.9309, allocations: 51.41 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.931, allocations: 118.1 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.931, allocations: 29.02 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.9311, allocations: 88 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.9312, allocations: 15.17 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.9312, allocations: 8 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.9313, allocations: 314.7 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/0.9314, allocations: 26.23 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.9316, allocations: 47.23 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.9317, allocations: 32.8 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9317, allocations: 0 / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002898/0.932, allocations: 106 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.932, allocations: 6.656 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.932, allocations: 4 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.9321, allocations: 0 / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.9323, allocations: 15.98 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.9323, allocations: 3.938 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.9325, allocations: 16.08 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.9325, allocations: 6.938 kB / 1.024 GB, free: 15.69 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 (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.0001184/0.9326, allocations: 108.9 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.9327, allocations: 11.84 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.9327, allocations: 8.062 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.9327, allocations: 3.984 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9327, allocations: 3.938 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9328, allocations: 8 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.9334, allocations: 352.1 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.9334, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.9335, allocations: 11.23 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.9336, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.9336, allocations: 4 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.9336, allocations: 64 / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.9336, allocations: 4 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003632/0.934, allocations: 194.9 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.9341, allocations: 85.02 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.9341, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.9343, allocations: 19.05 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.9344, allocations: 3.984 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.9344, allocations: 4 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.004e-05/0.9345, allocations: 95.34 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005253/0.935, allocations: 51.92 kB / 1.025 GB, free: 14.72 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.0005245/0.9356, allocations: 161.7 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002851/0.9359, allocations: 67.98 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.9359, allocations: 4.188 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.936, allocations: 38.53 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.9363, allocations: 7.875 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.9369, allocations: 119.5 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/0.9374, allocations: 0.7113 MB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/0.9374, allocations: 0 / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of Templates: time 0.007439/0.9448, allocations: 1.903 MB / 1.028 GB, free: 11.74 MB / 0.6511 GB