Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") [: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.321/2.321, allocations: 284.9 MB / 292.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002149/0.002148, allocations: 189.2 kB / 360.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00164/0.001639, allocations: 84.03 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.725e-06/7.885e-06, allocations: 0 / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.605/0.6051, allocations: 115.2 MB / 0.9628 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2172/0.8224, allocations: 138.9 MB / 1.098 GB, free: 1.828 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/0.8228, allocations: 81.55 kB / 1.099 GB, free: 1.75 MB / 0.698 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.01362/0.8364, allocations: 2.554 MB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.8364, allocations: 0 / 1.101 GB, free: 15.25 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.0006687/0.8371, allocations: 440.6 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.8372, allocations: 8.031 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.8372, allocations: 11.89 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.8374, allocations: 170.9 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.8375, allocations: 4.594 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.8375, allocations: 0.625 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001223/0.8376, allocations: 20 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.8378, allocations: 64.81 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.8378, allocations: 0.8125 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.8379, allocations: 5.109 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.8379, allocations: 0.7188 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.8385, allocations: 268.7 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.8386, allocations: 46.58 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.641e-05/0.8387, allocations: 20.98 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.8387, allocations: 4 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.8389, allocations: 63.39 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.8389, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002839/0.8392, allocations: 77.52 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.8393, allocations: 63.47 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.8394, allocations: 115.4 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.8394, allocations: 25.7 kB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.8395, allocations: 88.98 kB / 1.102 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.8395, allocations: 15.73 kB / 1.102 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-06/0.8395, allocations: 0 / 1.102 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8397, allocations: 318.8 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.8397, allocations: 15.94 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.04e-05/0.8398, allocations: 57.14 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.159e-05/0.8399, allocations: 19.92 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.8399, allocations: 3.75 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000224/0.8402, allocations: 89.58 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.8402, allocations: 4 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.8402, allocations: 7.984 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.8403, allocations: 3.984 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.8404, allocations: 15.94 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.8404, allocations: 7.906 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.8406, allocations: 7.984 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.8406, allocations: 10.66 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.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.0001066/0.8407, allocations: 113.9 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.8408, allocations: 7.906 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.8408, allocations: 4.375 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.8408, allocations: 0 / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8408, allocations: 0 / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.8409, allocations: 7.891 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.8414, allocations: 315.1 kB / 1.103 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.8414, allocations: 5.688 kB / 1.103 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.8415, allocations: 8 kB / 1.103 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.8415, allocations: 3.906 kB / 1.103 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.8415, allocations: 0 / 1.103 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.8416, allocations: 7.984 kB / 1.103 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8416, allocations: 0 / 1.103 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000245/0.8418, allocations: 171.4 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.8419, allocations: 89 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.8419, allocations: 4 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.8421, allocations: 4 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.8422, allocations: 7.984 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.8422, allocations: 4 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.284e-05/0.8423, allocations: 95.2 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000479/0.8428, allocations: 43.94 kB / 1.104 GB, free: 12.05 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 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.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.0004886/0.8433, allocations: 173.1 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.8435, allocations: 47.92 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8435, allocations: 4 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.53e-05/0.8436, allocations: 27.94 kB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.8439, allocations: 13.75 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.8443, allocations: 101.5 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.8447, allocations: 0.6997 MB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of SimCode: time 7.91e-07/0.8447, allocations: 4 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.006295/0.851, allocations: 1.632 MB / 1.107 GB, free: 9.359 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)