Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [: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 8.0.1-maint.8.0.x/package.mo): time 1.553/1.553, allocations: 285.5 MB / 292.8 MB, free: 9.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 181.2 kB / 361.1 MB, free: 404 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 0.6195 GB, free: 2.953 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008863/0.0008862, allocations: 88.2 kB / 0.7326 GB, free: 1.125 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 7.745e-06/7.785e-06, allocations: 2.188 kB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2446, allocations: 115.3 MB / 0.9637 GB, free: 56.43 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6753/0.9199, allocations: 139.2 MB / 1.1 GB, free: 32.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.9202, allocations: 81.2 kB / 1.1 GB, free: 32.3 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.008173/0.9284, allocations: 2.642 MB / 1.102 GB, free: 32.17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.9284, allocations: 0 / 1.102 GB, free: 32.17 MB / 0.7136 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.0004326/0.9288, allocations: 420.7 kB / 1.103 GB, free: 31.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.9289, allocations: 6.438 kB / 1.103 GB, free: 31.76 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.9289, allocations: 8.969 kB / 1.103 GB, free: 31.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.637e-05/0.929, allocations: 169.5 kB / 1.103 GB, free: 31.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.9291, allocations: 5.969 kB / 1.103 GB, free: 31.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.9291, allocations: 6.484 kB / 1.103 GB, free: 31.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.141e-05/0.9292, allocations: 20.84 kB / 1.103 GB, free: 31.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.985e-05/0.9293, allocations: 57.09 kB / 1.103 GB, free: 31.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9293, allocations: 0 / 1.103 GB, free: 31.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.9293, allocations: 3.156 kB / 1.103 GB, free: 31.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.9293, allocations: 0 / 1.103 GB, free: 31.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.9298, allocations: 281.9 kB / 1.103 GB, free: 31.28 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.9299, allocations: 38.8 kB / 1.103 GB, free: 31.26 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.732e-05/0.9299, allocations: 27.28 kB / 1.103 GB, free: 31.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.93, allocations: 1.938 kB / 1.103 GB, free: 31.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.583e-05/0.93, allocations: 72.52 kB / 1.103 GB, free: 31.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.9301, allocations: 0 / 1.103 GB, free: 31.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002833/0.9303, allocations: 77.94 kB / 1.103 GB, free: 31.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.9304, allocations: 51.41 kB / 1.103 GB, free: 31.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.9305, allocations: 114.5 kB / 1.104 GB, free: 31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.9305, allocations: 25.7 kB / 1.104 GB, free: 30.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.9305, allocations: 81.77 kB / 1.104 GB, free: 30.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.9306, allocations: 26.12 kB / 1.104 GB, free: 30.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-06/0.9306, allocations: 4 kB / 1.104 GB, free: 30.87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.9307, allocations: 322.8 kB / 1.104 GB, free: 30.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.122e-05/0.9307, allocations: 15.06 kB / 1.104 GB, free: 30.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.056e-05/0.9308, allocations: 44.88 kB / 1.104 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.78e-05/0.9309, allocations: 22.84 kB / 1.104 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9309, allocations: 0 / 1.104 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001607/0.931, allocations: 97.28 kB / 1.104 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.9311, allocations: 3.219 kB / 1.104 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.9311, allocations: 3.75 kB / 1.104 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.9311, allocations: 0 / 1.104 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.9312, allocations: 15.5 kB / 1.104 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.9312, allocations: 3.188 kB / 1.104 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.9313, allocations: 10.27 kB / 1.104 GB, free: 30.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.9313, allocations: 8.219 kB / 1.104 GB, free: 30.47 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.0001058/0.9314, allocations: 115.6 kB / 1.104 GB, free: 30.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.9314, allocations: 7.094 kB / 1.104 GB, free: 30.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.9315, allocations: 11.06 kB / 1.104 GB, free: 30.35 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.9315, allocations: 7.688 kB / 1.104 GB, free: 30.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.9315, allocations: 0 / 1.104 GB, free: 30.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.9315, allocations: 3.188 kB / 1.104 GB, free: 30.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.9318, allocations: 313.1 kB / 1.105 GB, free: 30.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9318, allocations: 5.812 kB / 1.105 GB, free: 30.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.871e-05/0.9319, allocations: 10.97 kB / 1.105 GB, free: 30.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.9319, allocations: 0 / 1.105 GB, free: 30.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.9319, allocations: 3.219 kB / 1.105 GB, free: 30.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9319, allocations: 0 / 1.105 GB, free: 30.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.9319, allocations: 3.906 kB / 1.105 GB, free: 30.07 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001511/0.932, allocations: 184.4 kB / 1.105 GB, free: 29.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.9321, allocations: 81.02 kB / 1.105 GB, free: 29.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.9321, allocations: 7.547 kB / 1.105 GB, free: 29.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.9322, allocations: 5.625 kB / 1.105 GB, free: 29.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.9323, allocations: 3.844 kB / 1.105 GB, free: 29.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.9323, allocations: 7.594 kB / 1.105 GB, free: 29.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.158e-05/0.9323, allocations: 89 kB / 1.105 GB, free: 29.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002971/0.9326, allocations: 52.56 kB / 1.105 GB, free: 29.74 MB / 0.7136 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.0003401/0.933, allocations: 172.2 kB / 1.105 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.9331, allocations: 52.75 kB / 1.105 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.9331, allocations: 0 / 1.105 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.428e-05/0.9332, allocations: 28.06 kB / 1.105 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.9334, allocations: 13.17 kB / 1.105 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.9337, allocations: 93.97 kB / 1.105 GB, free: 29.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.9339, allocations: 0.7003 MB / 1.106 GB, free: 44.84 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.9339, allocations: 0 / 1.106 GB, free: 44.84 MB / 0.7292 GB Notification: Performance of Templates: time 0.003806/0.9378, allocations: 1.64 MB / 1.108 GB, free: 44.69 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)