Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") [: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.29/2.29, allocations: 284.9 MB / 292.2 MB, free: 10.67 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.001634/0.001633, allocations: 192 kB / 360.4 MB, free: 7.449 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.789/1.789, allocations: 205.1 MB / 0.6188 GB, free: 12.38 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.001237/0.001237, allocations: 87.27 kB / 0.7318 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.277e-05/1.296e-05, allocations: 0 / 0.8502 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6448/0.6449, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2198/0.8647, allocations: 139.3 MB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/0.8651, allocations: 83.42 kB / 1.099 GB, free: 1.375 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.01481/0.8799, allocations: 2.836 MB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.88, allocations: 0.7188 kB / 1.102 GB, free: 14.6 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008293/0.8808, allocations: 468.9 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8809, allocations: 8.031 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.8809, allocations: 11.91 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.8811, allocations: 167 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.8812, allocations: 4 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.8812, allocations: 4 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001446/0.8813, allocations: 31.98 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.8815, allocations: 65.59 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.8815, allocations: 0 / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.8816, allocations: 0 / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.8816, allocations: 3.906 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006808/0.8823, allocations: 297.3 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.8825, allocations: 58.47 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.078e-05/0.8826, allocations: 29.64 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.8826, allocations: 4 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.8828, allocations: 79.38 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.485e-06/0.8828, allocations: 0 / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003676/0.8832, allocations: 101.8 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.8833, allocations: 51.41 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.8835, allocations: 117 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.8835, allocations: 25.7 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.8836, allocations: 100.3 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.8836, allocations: 19.72 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.8836, allocations: 0 / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8838, allocations: 322.8 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.93e-05/0.8839, allocations: 16 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.884, allocations: 61.14 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.574e-05/0.8841, allocations: 35.91 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.8841, allocations: 0 / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002761/0.8844, allocations: 99.77 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.8844, allocations: 4 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.8844, allocations: 4 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.8845, allocations: 8.109 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.8847, allocations: 19.92 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.8847, allocations: 4 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.8849, allocations: 11.91 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.8849, allocations: 11.98 kB / 1.104 GB, free: 12.17 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: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001062/0.885, allocations: 114.5 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.8851, allocations: 11.84 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/0.8855, allocations: 110 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.8855, allocations: 3.906 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8855, allocations: 0 / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.8855, allocations: 0 / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007198/0.8863, allocations: 383.9 kB / 1.104 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.8863, allocations: 4 kB / 1.104 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.8864, allocations: 8 kB / 1.104 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.8864, allocations: 0 / 1.104 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.8865, allocations: 3.984 kB / 1.104 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8865, allocations: 0 / 1.104 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.8865, allocations: 5.938 kB / 1.104 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003136/0.8868, allocations: 205.2 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.8869, allocations: 89 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.8869, allocations: 0 / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.8871, allocations: 11.98 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.8872, allocations: 15.98 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.8872, allocations: 4 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.594e-05/0.8873, allocations: 94.03 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004827/0.8878, allocations: 57.8 kB / 1.105 GB, free: 10.99 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: 8 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0004592/0.8883, allocations: 157.8 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.8886, allocations: 75.86 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8886, allocations: 0 / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.8887, allocations: 43.94 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.889, allocations: 11.89 kB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.8896, allocations: 120.3 kB / 1.105 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.89, allocations: 0.7155 MB / 1.106 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/0.89, allocations: 0 / 1.106 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of Templates: time 0.007284/0.8973, allocations: 1.893 MB / 1.108 GB, free: 8 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)