Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.534/1.534, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001102/0.001102, allocations: 176 kB / 366.3 MB, free: 1.957 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.222/1.222, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0009073/0.0009073, allocations: 91.36 kB / 0.7396 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2383/0.2392, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5616/0.8008, allocations: 116.3 MB / 0.9726 GB, free: 68.48 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1599/0.9608, allocations: 140.4 MB / 1.11 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.9611, allocations: 84.47 kB / 1.11 GB, free: 7.93 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.009752/0.9708, allocations: 3.283 MB / 1.113 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.9709, allocations: 8 kB / 1.113 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.9709, allocations: 7.906 kB / 1.113 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.9711, allocations: 178.9 kB / 1.113 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.9711, allocations: 8 kB / 1.113 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.9711, allocations: 4 kB / 1.113 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001015/0.9712, allocations: 27.98 kB / 1.113 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.9714, allocations: 62.33 kB / 1.113 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.9714, allocations: 0 / 1.113 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.9714, allocations: 0 / 1.113 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.9714, allocations: 4 kB / 1.113 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.9719, allocations: 305.2 kB / 1.114 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.972, allocations: 55.14 kB / 1.114 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.9721, allocations: 28.84 kB / 1.114 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.9721, allocations: 7.906 kB / 1.114 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.9723, allocations: 79.97 kB / 1.114 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.9723, allocations: 0 / 1.114 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002372/0.9725, allocations: 94.23 kB / 1.114 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.9725, allocations: 51.41 kB / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.019e-05/0.9726, allocations: 121 kB / 1.114 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.9727, allocations: 25.7 kB / 1.114 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.9727, allocations: 93.03 kB / 1.114 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.9727, allocations: 23.73 kB / 1.114 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.9728, allocations: 0 / 1.114 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.9729, allocations: 322.7 kB / 1.114 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.9729, allocations: 19.94 kB / 1.115 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.122e-05/0.973, allocations: 61.16 kB / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.186e-05/0.9731, allocations: 19.98 kB / 1.115 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9731, allocations: 0 / 1.115 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001799/0.9733, allocations: 110.2 kB / 1.115 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.9733, allocations: 8.125 kB / 1.115 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.9733, allocations: 4 kB / 1.115 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.9733, allocations: 0 / 1.115 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.9734, allocations: 15.98 kB / 1.115 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.9734, allocations: 7.938 kB / 1.115 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.9736, allocations: 15.89 kB / 1.115 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.9736, allocations: 4 kB / 1.115 GB, free: 2.695 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 7.885e-05/0.9737, allocations: 117.1 kB / 1.115 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.9737, allocations: 11.98 kB / 1.115 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.9739, allocations: 110 kB / 1.115 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.974, allocations: 3.938 kB / 1.115 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.974, allocations: 3.906 kB / 1.115 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.974, allocations: 3.984 kB / 1.115 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.9745, allocations: 381.3 kB / 1.115 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.9745, allocations: 3.984 kB / 1.115 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.75e-05/0.9745, allocations: 11.94 kB / 1.115 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9746, allocations: 0 / 1.115 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.9746, allocations: 0 / 1.115 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.9746, allocations: 11.98 kB / 1.115 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9746, allocations: 0 / 1.115 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000202/0.9748, allocations: 199.9 kB / 1.116 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003171/0.9751, allocations: 0.5594 MB / 1.116 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.9752, allocations: 89.02 kB / 1.116 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.9752, allocations: 3.938 kB / 1.116 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.9754, allocations: 19.89 kB / 1.116 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.9754, allocations: 11.98 kB / 1.116 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.9754, allocations: 4 kB / 1.116 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.507e-05/0.9755, allocations: 95.02 kB / 1.116 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009981/0.9765, allocations: 55.94 kB / 1.116 GB, free: 0.9219 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.0004176/0.9769, allocations: 166.8 kB / 1.117 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000165/0.9771, allocations: 63.94 kB / 1.117 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.9771, allocations: 0 / 1.117 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.723e-05/0.9772, allocations: 44.17 kB / 1.117 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.9774, allocations: 13.41 kB / 1.117 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.9778, allocations: 126.6 kB / 1.117 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.9781, allocations: 0.7114 MB / 1.117 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.9781, allocations: 0 / 1.117 GB, free: 15.77 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)