Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.521/1.521, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.001017/0.001017, allocations: 185.2 kB / 366.3 MB, free: 2.008 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.232/1.232, allocations: 205.1 MB / 0.6256 GB, free: 5.863 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.0008425/0.0008425, allocations: 80.22 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2587/0.2596, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.9922, allocations: 116.3 MB / 0.9726 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/1.188, allocations: 140.4 MB / 1.11 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/1.188, allocations: 85.89 kB / 1.11 GB, free: 8.012 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.009865/1.198, allocations: 3.277 MB / 1.113 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.198, allocations: 8 kB / 1.113 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/1.199, allocations: 11.91 kB / 1.113 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/1.199, allocations: 174.9 kB / 1.113 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.021e-05/1.199, allocations: 37.64 kB / 1.113 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/1.199, allocations: 4 kB / 1.113 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000119/1.199, allocations: 31.98 kB / 1.113 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/1.199, allocations: 63.36 kB / 1.113 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.199, allocations: 0 / 1.113 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/1.199, allocations: 7.984 kB / 1.113 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/1.199, allocations: 0 / 1.113 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/1.2, allocations: 309.2 kB / 1.114 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/1.2, allocations: 50.56 kB / 1.114 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/1.2, allocations: 28.86 kB / 1.114 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/1.2, allocations: 4 kB / 1.114 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/1.2, allocations: 83.45 kB / 1.114 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/1.2, allocations: 7.938 kB / 1.114 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002997/1.201, allocations: 91.55 kB / 1.114 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/1.201, allocations: 51.41 kB / 1.114 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/1.201, allocations: 123.8 kB / 1.114 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/1.201, allocations: 25.7 kB / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/1.201, allocations: 88.36 kB / 1.114 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/1.201, allocations: 23.72 kB / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/1.201, allocations: 0 / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.201, allocations: 322.8 kB / 1.114 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.946e-05/1.201, allocations: 27.88 kB / 1.115 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/1.201, allocations: 57.14 kB / 1.115 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/1.201, allocations: 27.98 kB / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.201, allocations: 0 / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001908/1.201, allocations: 101.5 kB / 1.115 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.202, allocations: 7.906 kB / 1.115 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.202, allocations: 0 / 1.115 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.202, allocations: 4 kB / 1.115 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/1.202, allocations: 28.09 kB / 1.115 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/1.202, allocations: 4 kB / 1.115 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/1.202, allocations: 15.92 kB / 1.115 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/1.202, allocations: 5.031 kB / 1.115 GB, free: 2.715 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.0001067/1.202, allocations: 113.4 kB / 1.115 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/1.202, allocations: 11.81 kB / 1.115 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/1.202, allocations: 12.5 kB / 1.115 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/1.202, allocations: 0 / 1.115 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.202, allocations: 0 / 1.115 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/1.202, allocations: 3.984 kB / 1.115 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/1.203, allocations: 371.8 kB / 1.115 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.203, allocations: 4 kB / 1.115 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.975e-05/1.203, allocations: 7.984 kB / 1.115 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/1.203, allocations: 4 kB / 1.115 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/1.203, allocations: 0 / 1.115 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.203, allocations: 3.938 kB / 1.115 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.203, allocations: 4.469 kB / 1.115 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002727/1.203, allocations: 196.5 kB / 1.115 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004217/1.204, allocations: 0.5629 MB / 1.116 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/1.204, allocations: 85.02 kB / 1.116 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/1.204, allocations: 0 / 1.116 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/1.204, allocations: 19.98 kB / 1.116 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/1.204, allocations: 7.984 kB / 1.116 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/1.204, allocations: 7.984 kB / 1.116 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.64e-05/1.204, allocations: 91.28 kB / 1.116 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001023/1.205, allocations: 60.42 kB / 1.116 GB, free: 1.066 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.0005077/1.206, allocations: 186 kB / 1.116 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001815/1.206, allocations: 66.17 kB / 1.117 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.206, allocations: 4 kB / 1.117 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.607e-05/1.206, allocations: 35.94 kB / 1.117 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/1.206, allocations: 18.03 kB / 1.117 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/1.206, allocations: 123.5 kB / 1.117 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004292/1.207, allocations: 0.7075 MB / 1.117 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/1.207, allocations: 0 / 1.117 GB, free: 15.9 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)