Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.545/2.545, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001996/0.001995, allocations: 161.4 kB / 360.3 MB, free: 7.547 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.76/1.76, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001171/0.00117, allocations: 89.92 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2743/0.2755, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6272/0.9027, allocations: 115.2 MB / 0.9627 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2169/1.12, allocations: 139.3 MB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/1.12, allocations: 83.2 kB / 1.099 GB, free: 1.508 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01635/1.136, allocations: 3.294 MB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.136, allocations: 11.94 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/1.137, allocations: 7.906 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/1.137, allocations: 174.2 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/1.137, allocations: 0.6094 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/1.137, allocations: 4 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001572/1.137, allocations: 31.98 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/1.137, allocations: 65.59 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/1.137, allocations: 0 / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/1.137, allocations: 0.5156 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/1.137, allocations: 7.906 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007243/1.138, allocations: 289.3 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/1.138, allocations: 66.47 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.731e-05/1.138, allocations: 25.42 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/1.138, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/1.139, allocations: 83.41 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.354e-06/1.139, allocations: 0 / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003932/1.139, allocations: 94.92 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/1.139, allocations: 63.53 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/1.139, allocations: 109 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/1.139, allocations: 33.69 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/1.139, allocations: 88.28 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/1.139, allocations: 19.72 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/1.139, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.139, allocations: 326.8 kB / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/1.14, allocations: 20 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/1.14, allocations: 57.14 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.679e-05/1.14, allocations: 24.55 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.14, allocations: 4.656 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002924/1.14, allocations: 106 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.14, allocations: 6.625 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.14, allocations: 4.516 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/1.14, allocations: 4 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/1.14, allocations: 19.92 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/1.14, allocations: 5.5 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/1.141, allocations: 21.39 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/1.141, allocations: 8 kB / 1.104 GB, free: 12.33 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.0001101/1.141, allocations: 109.7 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/1.141, allocations: 8.984 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/1.141, allocations: 110.9 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/1.141, allocations: 7.906 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.141, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.141, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007826/1.142, allocations: 382.8 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/1.142, allocations: 0 / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/1.142, allocations: 11.98 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/1.142, allocations: 4 kB / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/1.142, allocations: 4 kB / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.142, allocations: 4 kB / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.142, allocations: 0 / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003803/1.143, allocations: 201.7 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004717/1.143, allocations: 0.5595 MB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/1.143, allocations: 89.02 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/1.143, allocations: 13.95 kB / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/1.144, allocations: 8 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/1.144, allocations: 11.97 kB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/1.144, allocations: 4 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.752e-05/1.144, allocations: 101.7 kB / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001343/1.145, allocations: 55.73 kB / 1.105 GB, free: 10.57 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.0005022/1.146, allocations: 158.3 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00027/1.146, allocations: 71.09 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.146, allocations: 0 / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/1.146, allocations: 45.22 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/1.146, allocations: 16.5 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/1.147, allocations: 120.2 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004988/1.148, allocations: 0.7152 MB / 1.106 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of SimCode: time 3.407e-06/1.148, allocations: 0 / 1.106 GB, free: 9.41 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)