Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") [: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.325/2.325, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.001609/0.001608, allocations: 177.3 kB / 360.4 MB, free: 7.488 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.801/1.801, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001243/0.001243, allocations: 93.38 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.865e-06/8.025e-06, allocations: 0 / 0.8502 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5903/0.5904, allocations: 115.2 MB / 0.9628 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2148/0.8052, allocations: 139.2 MB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.8056, allocations: 79.95 kB / 1.099 GB, free: 1.43 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.01484/0.8204, allocations: 2.823 MB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.8205, allocations: 0 / 1.102 GB, free: 14.68 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.0009048/0.8214, allocations: 469.3 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.8214, allocations: 8.781 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.8215, allocations: 7.906 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.8217, allocations: 175.5 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.8218, allocations: 38.22 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.8218, allocations: 4.562 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001567/0.822, allocations: 28 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.8222, allocations: 66.12 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.8222, allocations: 1.375 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.8222, allocations: 0 / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.8223, allocations: 0.6562 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007145/0.823, allocations: 310.5 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.8232, allocations: 51.28 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.715e-05/0.8233, allocations: 32.84 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.8233, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.8235, allocations: 80.89 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.924e-06/0.8235, allocations: 3.938 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003914/0.8239, allocations: 85.58 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.824, allocations: 63.39 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.8241, allocations: 118.4 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.8241, allocations: 25.7 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.8242, allocations: 88.38 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.8243, allocations: 23.7 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.8243, allocations: 6.719 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8244, allocations: 318.8 kB / 1.103 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.643e-05/0.8245, allocations: 27.86 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.8246, allocations: 53.16 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.032e-05/0.8247, allocations: 28.55 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8247, allocations: 0 / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002939/0.825, allocations: 106.4 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.8251, allocations: 12.69 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.8251, allocations: 0 / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.8251, allocations: 4 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.8253, allocations: 17.73 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.8254, allocations: 4 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.8256, allocations: 19.92 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.8256, allocations: 8 kB / 1.104 GB, free: 12.21 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.0001074/0.8257, allocations: 114.1 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.8258, allocations: 20.45 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.8258, allocations: 12.5 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.8258, allocations: 0 / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8258, allocations: 0 / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.8259, allocations: 0 / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/0.8266, allocations: 371.6 kB / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8266, allocations: 0 / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.8267, allocations: 11.98 kB / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.8268, allocations: 2.438 kB / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.8268, allocations: 9.859 kB / 1.104 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.8268, allocations: 3.938 kB / 1.104 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.8268, allocations: 3.906 kB / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003201/0.8271, allocations: 190.3 kB / 1.104 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.8272, allocations: 85.02 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/0.8273, allocations: 8.594 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.8275, allocations: 11.98 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.8276, allocations: 11.92 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.8276, allocations: 7.906 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.51e-05/0.8277, allocations: 106.2 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004738/0.8282, allocations: 47.88 kB / 1.105 GB, free: 11.14 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 (10): * Single equations (assignments): 7 * 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.0004693/0.8287, allocations: 173.9 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.8289, allocations: 64.81 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.829, allocations: 8.062 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.8291, allocations: 35.94 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.8294, allocations: 11.98 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.8299, allocations: 112.3 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/0.8303, allocations: 0.7191 MB / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.8304, allocations: 5.594 kB / 1.106 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of Templates: time 0.007261/0.8376, allocations: 1.958 MB / 1.108 GB, free: 8.074 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)