Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.223/1.223, allocations: 249.4 MB / 256.7 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001253/0.001253, allocations: 173.3 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.184/1.184, allocations: 205.1 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008194/0.0008192, allocations: 90.72 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3402/0.3411, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.5032, allocations: 106.3 MB / 0.8846 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4869/0.9902, allocations: 134.2 MB / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001687/0.9904, allocations: 84 kB / 1.016 GB, free: 4.555 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.009352/0.9997, allocations: 3.282 MB / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.9998, allocations: 15.98 kB / 1.019 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.9998, allocations: 7.906 kB / 1.019 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/1, allocations: 173 kB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/1, allocations: 7.906 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/1, allocations: 11.92 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.835e-05/1, allocations: 33.67 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/1, allocations: 60.91 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/1, allocations: 0 / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/1, allocations: 4 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/1, allocations: 0 / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/1.001, allocations: 305.8 kB / 1.02 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.139e-05/1.001, allocations: 56.88 kB / 1.02 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/1.001, allocations: 23.17 kB / 1.02 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/1.001, allocations: 0 / 1.02 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/1.001, allocations: 84.06 kB / 1.02 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/1.001, allocations: 0 / 1.02 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002271/1.001, allocations: 95.58 kB / 1.02 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/1.001, allocations: 59.16 kB / 1.02 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/1.001, allocations: 111.4 kB / 1.02 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/1.001, allocations: 25.7 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/1.001, allocations: 88.23 kB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/1.001, allocations: 19.88 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/1.001, allocations: 4 kB / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.98e-05/1.002, allocations: 322.6 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-05/1.002, allocations: 18.69 kB / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/1.002, allocations: 59.02 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.177e-05/1.002, allocations: 30.05 kB / 1.021 GB, free: 88 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.002, allocations: 0 / 1.021 GB, free: 88 kB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002125/1.002, allocations: 107.1 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.002, allocations: 6.656 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/1.002, allocations: 96 / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.002, allocations: 7.938 kB / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/1.002, allocations: 19.12 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.002, allocations: 8.812 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/1.002, allocations: 15.94 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/1.002, allocations: 7.984 kB / 1.021 GB, free: 15.93 MB / 0.6511 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 7.338e-05/1.002, allocations: 115.8 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/1.002, allocations: 7.906 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/1.003, allocations: 116.1 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.003, allocations: 4 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.003, allocations: 0 / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.003, allocations: 0 / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/1.003, allocations: 380.9 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.003, allocations: 96 / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7e-05/1.003, allocations: 8 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.003, allocations: 7.984 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/1.003, allocations: 7.891 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/1.003, allocations: 0 / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.003, allocations: 0 / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001974/1.003, allocations: 197.3 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003025/1.004, allocations: 0.5722 MB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/1.004, allocations: 85.02 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/1.004, allocations: 0 / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/1.004, allocations: 22.23 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/1.004, allocations: 7.984 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/1.004, allocations: 11.92 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.292e-05/1.004, allocations: 94.09 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008757/1.005, allocations: 58.95 kB / 1.022 GB, free: 14.26 MB / 0.6511 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.0004146/1.005, allocations: 168.9 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000171/1.006, allocations: 71.67 kB / 1.023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.006, allocations: 0 / 1.023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/1.006, allocations: 38.88 kB / 1.023 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/1.006, allocations: 11.3 kB / 1.023 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/1.006, allocations: 119.8 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/1.007, allocations: 0.7153 MB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.007, allocations: 0 / 1.023 GB, free: 13.14 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)