Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.519/2.519, allocations: 284.8 MB / 292.1 MB, free: 10.82 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.002447/0.002446, allocations: 177.3 kB / 360.3 MB, free: 7.586 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.87/1.87, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.00122/0.00122, allocations: 90.53 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2633/0.2646, allocations: 121.4 MB / 0.8502 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6234/0.8881, allocations: 115.2 MB / 0.9627 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2186/1.107, allocations: 139.3 MB / 1.099 GB, free: 1.637 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/1.107, allocations: 84.77 kB / 1.099 GB, free: 1.555 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.01591/1.123, allocations: 3.291 MB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.123, allocations: 9.125 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/1.123, allocations: 9.469 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/1.123, allocations: 175 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/1.123, allocations: 1.031 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/1.123, allocations: 4 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001577/1.124, allocations: 31.98 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/1.124, allocations: 62.2 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.124, allocations: 0.9375 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/1.124, allocations: 0 / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/1.124, allocations: 8.438 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006838/1.125, allocations: 298 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/1.125, allocations: 54.52 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.171e-05/1.125, allocations: 33 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/1.125, allocations: 3.984 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/1.125, allocations: 83.38 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/1.125, allocations: 0.6562 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003553/1.125, allocations: 95.3 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/1.126, allocations: 51.41 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/1.126, allocations: 115.5 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/1.126, allocations: 25.7 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/1.126, allocations: 96.28 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/1.126, allocations: 23.7 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-06/1.126, allocations: 0 / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.126, allocations: 322.8 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/1.126, allocations: 19.94 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/1.126, allocations: 53.16 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.323e-05/1.126, allocations: 31.92 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.126, allocations: 0 / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000278/1.127, allocations: 101.5 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.127, allocations: 8 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.127, allocations: 0 / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/1.127, allocations: 5.969 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/1.127, allocations: 32.03 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.127, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/1.127, allocations: 19.89 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/1.127, allocations: 4.656 kB / 1.104 GB, free: 12.37 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.0001249/1.127, allocations: 117.4 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/1.127, allocations: 7.906 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/1.128, allocations: 109.2 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.128, allocations: 3.906 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.128, allocations: 3.984 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.128, allocations: 4 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/1.129, allocations: 386.5 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.129, allocations: 0 / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/1.129, allocations: 12 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/1.129, allocations: 0 / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/1.129, allocations: 7.984 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/1.129, allocations: 1.75 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/1.129, allocations: 0 / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003212/1.129, allocations: 203.2 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005194/1.13, allocations: 0.5623 MB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/1.13, allocations: 85.02 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/1.13, allocations: 3.906 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/1.13, allocations: 15.98 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/1.13, allocations: 7.984 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/1.13, allocations: 4 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.094e-05/1.13, allocations: 102.8 kB / 1.105 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001324/1.131, allocations: 51.94 kB / 1.105 GB, free: 10.6 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.0004908/1.132, allocations: 178.8 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002562/1.132, allocations: 63.94 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.132, allocations: 0 / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/1.132, allocations: 35.98 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/1.133, allocations: 15.98 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/1.133, allocations: 124.4 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/1.134, allocations: 0.7153 MB / 1.106 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/1.134, allocations: 0 / 1.106 GB, free: 9.445 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)