Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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 10.0.0-master/package.mo): time 1.898/1.898, allocations: 390.4 MB / 397.7 MB, free: 1.742 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 180 kB / 490.8 MB, free: 7.297 MB / 402.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.3 MB / 0.7863 GB, free: 68 kB / 0.5496 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009638/0.0009638, allocations: 99.06 kB / 0.9264 GB, free: 440 kB / 0.6902 GB Notification: Performance of FrontEnd - loaded program: time 0.4547/0.4557, allocations: 149.1 MB / 1.072 GB, free: 137.3 MB / 0.7215 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.6823, allocations: 143 MB / 1.212 GB, free: 10.32 MB / 0.7371 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.599/1.281, allocations: 151.4 MB / 1.36 GB, free: 10.29 MB / 0.8309 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/1.282, allocations: 79.95 kB / 1.36 GB, free: 10.21 MB / 0.8309 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.009622/1.291, allocations: 3.335 MB / 1.363 GB, free: 6.84 MB / 0.8309 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/1.291, allocations: 8 kB / 1.363 GB, free: 6.832 MB / 0.8309 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/1.291, allocations: 7.906 kB / 1.363 GB, free: 6.824 MB / 0.8309 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/1.291, allocations: 174.9 kB / 1.363 GB, free: 6.613 MB / 0.8309 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/1.291, allocations: 0 / 1.363 GB, free: 6.613 MB / 0.8309 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/1.291, allocations: 4 kB / 1.363 GB, free: 6.609 MB / 0.8309 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.384e-05/1.292, allocations: 31.98 kB / 1.363 GB, free: 6.578 MB / 0.8309 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/1.292, allocations: 65.59 kB / 1.363 GB, free: 6.508 MB / 0.8309 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/1.292, allocations: 0 / 1.363 GB, free: 6.508 MB / 0.8309 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/1.292, allocations: 4 kB / 1.363 GB, free: 6.504 MB / 0.8309 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/1.292, allocations: 7.984 kB / 1.363 GB, free: 6.496 MB / 0.8309 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/1.292, allocations: 300.4 kB / 1.363 GB, free: 6.168 MB / 0.8309 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/1.292, allocations: 54.56 kB / 1.364 GB, free: 6.105 MB / 0.8309 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/1.292, allocations: 28.86 kB / 1.364 GB, free: 6.074 MB / 0.8309 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/1.292, allocations: 7.938 kB / 1.364 GB, free: 6.066 MB / 0.8309 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/1.293, allocations: 79.38 kB / 1.364 GB, free: 5.977 MB / 0.8309 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/1.293, allocations: 0 / 1.364 GB, free: 5.977 MB / 0.8309 GB Notification: Performance of matching and sorting (n=10): time 0.0002416/1.293, allocations: 93.52 kB / 1.364 GB, free: 5.879 MB / 0.8309 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/1.293, allocations: 55.41 kB / 1.364 GB, free: 5.812 MB / 0.8309 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.766e-05/1.293, allocations: 113 kB / 1.364 GB, free: 5.695 MB / 0.8309 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/1.293, allocations: 25.7 kB / 1.364 GB, free: 5.664 MB / 0.8309 GB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/1.293, allocations: 96.27 kB / 1.364 GB, free: 5.562 MB / 0.8309 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/1.293, allocations: 15.81 kB / 1.364 GB, free: 5.547 MB / 0.8309 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/1.293, allocations: 0 / 1.364 GB, free: 5.547 MB / 0.8309 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.293, allocations: 326.7 kB / 1.364 GB, free: 5.219 MB / 0.8309 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.737e-05/1.293, allocations: 16 kB / 1.364 GB, free: 5.203 MB / 0.8309 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.917e-05/1.293, allocations: 65.58 kB / 1.364 GB, free: 5.121 MB / 0.8309 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.391e-05/1.293, allocations: 27.92 kB / 1.364 GB, free: 5.094 MB / 0.8309 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.293, allocations: 0 / 1.364 GB, free: 5.094 MB / 0.8309 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001675/1.294, allocations: 101.6 kB / 1.365 GB, free: 4.988 MB / 0.8309 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.294, allocations: 8 kB / 1.365 GB, free: 4.98 MB / 0.8309 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.294, allocations: 4.078 kB / 1.365 GB, free: 4.977 MB / 0.8309 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/1.294, allocations: 7.938 kB / 1.365 GB, free: 4.969 MB / 0.8309 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/1.294, allocations: 23.92 kB / 1.365 GB, free: 4.945 MB / 0.8309 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.294, allocations: 0 / 1.365 GB, free: 4.945 MB / 0.8309 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/1.294, allocations: 19.97 kB / 1.365 GB, free: 4.926 MB / 0.8309 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/1.294, allocations: 7.984 kB / 1.365 GB, free: 4.918 MB / 0.8309 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 8.166e-05/1.294, allocations: 111 kB / 1.365 GB, free: 4.805 MB / 0.8309 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/1.294, allocations: 3.906 kB / 1.365 GB, free: 4.801 MB / 0.8309 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/1.294, allocations: 114 kB / 1.365 GB, free: 4.684 MB / 0.8309 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.294, allocations: 0 / 1.365 GB, free: 4.684 MB / 0.8309 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.294, allocations: 3.906 kB / 1.365 GB, free: 4.68 MB / 0.8309 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.294, allocations: 4 kB / 1.365 GB, free: 4.676 MB / 0.8309 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/1.295, allocations: 379 kB / 1.365 GB, free: 4.262 MB / 0.8309 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.295, allocations: 0 / 1.365 GB, free: 4.262 MB / 0.8309 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-05/1.295, allocations: 12 kB / 1.365 GB, free: 4.25 MB / 0.8309 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.295, allocations: 7.984 kB / 1.365 GB, free: 4.242 MB / 0.8309 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/1.295, allocations: 4 kB / 1.365 GB, free: 4.238 MB / 0.8309 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.295, allocations: 0.7812 kB / 1.365 GB, free: 4.238 MB / 0.8309 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.295, allocations: 0 / 1.365 GB, free: 4.238 MB / 0.8309 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002119/1.295, allocations: 195.3 kB / 1.365 GB, free: 4.031 MB / 0.8309 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003385/1.296, allocations: 0.5723 MB / 1.366 GB, free: 3.441 MB / 0.8309 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/1.296, allocations: 85.02 kB / 1.366 GB, free: 3.34 MB / 0.8309 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/1.296, allocations: 0.875 kB / 1.366 GB, free: 3.34 MB / 0.8309 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/1.296, allocations: 15.89 kB / 1.366 GB, free: 3.324 MB / 0.8309 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/1.296, allocations: 8.078 kB / 1.366 GB, free: 3.316 MB / 0.8309 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/1.296, allocations: 11.97 kB / 1.366 GB, free: 3.305 MB / 0.8309 GB Notification: Performance of sort global known variables: time 5.066e-05/1.296, allocations: 100.5 kB / 1.366 GB, free: 3.207 MB / 0.8309 GB Notification: Performance of remove unused functions: time 0.0008653/1.297, allocations: 55.92 kB / 1.366 GB, free: 3.152 MB / 0.8309 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.0003491/1.297, allocations: 183 kB / 1.366 GB, free: 2.98 MB / 0.8309 GB Notification: Performance of simCode: created initialization part: time 0.0001576/1.297, allocations: 67.92 kB / 1.366 GB, free: 2.914 MB / 0.8309 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.297, allocations: 4.25 kB / 1.366 GB, free: 2.91 MB / 0.8309 GB Notification: Performance of simCode: created simulation system equations: time 7.231e-05/1.297, allocations: 36 kB / 1.366 GB, free: 2.875 MB / 0.8309 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/1.298, allocations: 11.98 kB / 1.366 GB, free: 2.863 MB / 0.8309 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/1.298, allocations: 123.2 kB / 1.367 GB, free: 2.723 MB / 0.8309 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/1.298, allocations: 0.7192 MB / 1.367 GB, free: 1.977 MB / 0.8309 GB Notification: Performance of SimCode: time 2.61e-07/1.298, allocations: 0 / 1.367 GB, free: 1.977 MB / 0.8309 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)