Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") [: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 8.0.0/package.mo): time 2.386/2.386, allocations: 284.9 MB / 292.2 MB, free: 14.66 MB / 238.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001621/0.00162, allocations: 189.2 kB / 360.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.1 MB / 0.6188 GB, free: 4.629 MB / 462.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 92.48 kB / 0.7318 GB, free: 53.74 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.925e-06, allocations: 0 / 0.8502 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2474, allocations: 115.2 MB / 0.9628 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6433/0.8907, allocations: 139 MB / 1.099 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.8911, allocations: 87.88 kB / 1.099 GB, free: 13.36 MB / 0.7012 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01255/0.9036, allocations: 2.636 MB / 1.101 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.9037, allocations: 0 / 1.101 GB, free: 10.79 MB / 0.7012 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.0005868/0.9043, allocations: 416.1 kB / 1.102 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.9043, allocations: 9.094 kB / 1.102 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.9044, allocations: 8.688 kB / 1.102 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.9045, allocations: 171 kB / 1.102 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.9045, allocations: 4 kB / 1.102 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.9046, allocations: 8.438 kB / 1.102 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001072/0.9047, allocations: 25.19 kB / 1.102 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.9048, allocations: 57.66 kB / 1.102 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.9049, allocations: 0 / 1.102 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.9049, allocations: 1.969 kB / 1.102 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.9049, allocations: 0 / 1.102 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.9054, allocations: 280 kB / 1.102 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.585e-05/0.9055, allocations: 42.56 kB / 1.102 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.587e-05/0.9056, allocations: 21.83 kB / 1.102 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.9056, allocations: 4 kB / 1.102 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.9058, allocations: 74.17 kB / 1.102 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.9058, allocations: 0 / 1.102 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of matching and sorting (n=7): time 0.000285/0.9061, allocations: 77.58 kB / 1.102 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.9061, allocations: 55.47 kB / 1.102 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.9062, allocations: 111.8 kB / 1.103 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.9063, allocations: 37.44 kB / 1.103 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.9063, allocations: 80.33 kB / 1.103 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.9063, allocations: 20.34 kB / 1.103 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.9064, allocations: 3.938 kB / 1.103 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 5.766e-05/0.9064, allocations: 320.5 kB / 1.103 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-05/0.9065, allocations: 16 kB / 1.103 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.541e-05/0.9066, allocations: 48.97 kB / 1.103 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.906e-05/0.9067, allocations: 16 kB / 1.103 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9067, allocations: 0 / 1.103 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002322/0.9069, allocations: 96.11 kB / 1.103 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.907, allocations: 4 kB / 1.103 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.907, allocations: 7 kB / 1.103 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.907, allocations: 0 / 1.103 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.9072, allocations: 11.98 kB / 1.103 GB, free: 8.617 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.9072, allocations: 4 kB / 1.103 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.9073, allocations: 7.906 kB / 1.103 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.9073, allocations: 4.562 kB / 1.103 GB, free: 8.602 MB / 0.7012 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 7.085e-05/0.9074, allocations: 112.6 kB / 1.103 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.9074, allocations: 9.094 kB / 1.103 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.9075, allocations: 16.31 kB / 1.103 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.9075, allocations: 0 / 1.103 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.9075, allocations: 1.25 kB / 1.103 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.9075, allocations: 0 / 1.103 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.9079, allocations: 319.6 kB / 1.104 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9079, allocations: 0 / 1.104 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.908, allocations: 8.672 kB / 1.104 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.908, allocations: 4.062 kB / 1.104 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.908, allocations: 0 / 1.104 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.908, allocations: 3.906 kB / 1.104 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9081, allocations: 4 kB / 1.104 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002175/0.9083, allocations: 177.1 kB / 1.104 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.9083, allocations: 81.02 kB / 1.104 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.9084, allocations: 4 kB / 1.104 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.9085, allocations: 11.98 kB / 1.104 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.9086, allocations: 3.938 kB / 1.104 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.9086, allocations: 13.92 kB / 1.104 GB, free: 7.773 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.167e-05/0.9086, allocations: 90.34 kB / 1.104 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004383/0.9091, allocations: 47.92 kB / 1.104 GB, free: 7.641 MB / 0.7012 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.0004118/0.9095, allocations: 170.2 kB / 1.104 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.9097, allocations: 55.91 kB / 1.104 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9097, allocations: 0 / 1.104 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.9098, allocations: 27.94 kB / 1.104 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.9101, allocations: 12.47 kB / 1.104 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.9105, allocations: 97.83 kB / 1.104 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.9107, allocations: 0.7076 MB / 1.105 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of SimCode: time 7.01e-07/0.9107, allocations: 0 / 1.105 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of Templates: time 0.00528/0.916, allocations: 1.634 MB / 1.107 GB, free: 4.965 MB / 0.7012 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)