Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) [: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.391/1.391, allocations: 285.5 MB / 292.8 MB, free: 10.38 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.000979/0.0009792, allocations: 181.2 kB / 361.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.203/1.203, allocations: 205.1 MB / 0.6195 GB, free: 10.25 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008482/0.0008482, allocations: 96.62 kB / 0.7325 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2224/0.2233, allocations: 121.4 MB / 0.8511 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5482/0.7715, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.9303, allocations: 139.4 MB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.9306, allocations: 80.66 kB / 1.1 GB, free: 460 kB / 0.698 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: 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.009464/0.9401, allocations: 3.295 MB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.9401, allocations: 12.81 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.9402, allocations: 7.906 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.9403, allocations: 171.5 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.9403, allocations: 1.281 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.9404, allocations: 7.984 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.295e-05/0.9404, allocations: 30 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.9406, allocations: 66.09 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.9406, allocations: 0.625 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.9406, allocations: 4 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.9406, allocations: 5.281 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.9411, allocations: 291.9 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.694e-05/0.9412, allocations: 58.97 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.9412, allocations: 25.61 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.9413, allocations: 7.984 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.9414, allocations: 79.42 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.9414, allocations: 0 / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002147/0.9416, allocations: 94.27 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.9416, allocations: 59.39 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/0.9417, allocations: 113 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.9418, allocations: 25.7 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.9418, allocations: 92.28 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.9418, allocations: 23.86 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.9418, allocations: 0 / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.9419, allocations: 329 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.881e-05/0.942, allocations: 20 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-05/0.9421, allocations: 56.64 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.508e-05/0.9421, allocations: 35.97 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9421, allocations: 0 / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000158/0.9423, allocations: 105.4 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.9423, allocations: 4 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.9423, allocations: 0 / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.9423, allocations: 4 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.9425, allocations: 24.05 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.9425, allocations: 0 / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.9426, allocations: 23.89 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.9426, allocations: 4 kB / 1.105 GB, free: 11.27 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 6.391e-05/0.9427, allocations: 105 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.9427, allocations: 11.91 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.9429, allocations: 111 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.9429, allocations: 7.906 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9429, allocations: 2.125 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.9429, allocations: 0 / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.9434, allocations: 378.8 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9434, allocations: 0 / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.086e-05/0.9434, allocations: 11.98 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.9435, allocations: 4 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.9435, allocations: 4 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.9435, allocations: 1.875 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9435, allocations: 0 / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001855/0.9437, allocations: 205 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002638/0.944, allocations: 0.5662 MB / 1.106 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.944, allocations: 85 kB / 1.106 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.944, allocations: 3.906 kB / 1.106 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.9442, allocations: 15.98 kB / 1.106 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.9442, allocations: 11.98 kB / 1.106 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.9442, allocations: 1.625 kB / 1.106 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.86e-05/0.9443, allocations: 99.22 kB / 1.106 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008509/0.9451, allocations: 51.98 kB / 1.107 GB, free: 9.508 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.0003699/0.9455, allocations: 176.9 kB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.9457, allocations: 71.92 kB / 1.107 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9457, allocations: 0 / 1.107 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.271e-05/0.9458, allocations: 39.92 kB / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.946, allocations: 11.06 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.9464, allocations: 132.2 kB / 1.107 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.9468, allocations: 0.7121 MB / 1.108 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of SimCode: time 1.663e-06/0.9468, allocations: 4 kB / 1.108 GB, free: 8.34 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)