Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") [: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.488/1.488, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001077/0.001077, allocations: 175.9 kB / 366.3 MB, free: 2.023 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.282/1.282, allocations: 205.1 MB / 0.6256 GB, free: 5.859 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.0007968/0.0007969, allocations: 82.92 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.243e-06/7.273e-06, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5287/0.5287, allocations: 116.3 MB / 0.9725 GB, free: 68.29 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.687, allocations: 140.4 MB / 1.11 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.6873, allocations: 84.73 kB / 1.11 GB, free: 8.031 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: Performance of FrontEnd: time 0.009026/0.6963, allocations: 2.832 MB / 1.113 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.6964, allocations: 0 / 1.113 GB, free: 5.223 MB / 0.7136 GB 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.0005462/0.6969, allocations: 462.2 kB / 1.113 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.697, allocations: 8.031 kB / 1.113 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.697, allocations: 7.906 kB / 1.113 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.6972, allocations: 179.4 kB / 1.113 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.6972, allocations: 0 / 1.113 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.6972, allocations: 4 kB / 1.113 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.817e-05/0.6973, allocations: 31.98 kB / 1.113 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.6974, allocations: 65.66 kB / 1.113 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.6974, allocations: 0.5625 kB / 1.113 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.6975, allocations: 4 kB / 1.113 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.6975, allocations: 3.906 kB / 1.113 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.6979, allocations: 297.3 kB / 1.114 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.409e-05/0.698, allocations: 58.47 kB / 1.114 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.6981, allocations: 25.42 kB / 1.114 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.6981, allocations: 0 / 1.114 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.6982, allocations: 80.62 kB / 1.114 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.6982, allocations: 3.938 kB / 1.114 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002225/0.6985, allocations: 94.33 kB / 1.114 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.6985, allocations: 55.41 kB / 1.114 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.6986, allocations: 109 kB / 1.114 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.6986, allocations: 33.7 kB / 1.114 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.6987, allocations: 88.27 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.6987, allocations: 23.86 kB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.6987, allocations: 3.938 kB / 1.114 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6988, allocations: 324 kB / 1.114 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.6989, allocations: 27.94 kB / 1.114 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.699, allocations: 53.14 kB / 1.114 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.287e-05/0.6991, allocations: 31.97 kB / 1.115 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6991, allocations: 0 / 1.115 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001617/0.6992, allocations: 105.5 kB / 1.115 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.6992, allocations: 4 kB / 1.115 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6993, allocations: 3.984 kB / 1.115 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.6993, allocations: 4 kB / 1.115 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.6994, allocations: 20.48 kB / 1.115 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.6994, allocations: 0 / 1.115 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.6995, allocations: 20.03 kB / 1.115 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.6995, allocations: 9.203 kB / 1.115 GB, free: 2.797 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.921e-05/0.6996, allocations: 111.7 kB / 1.115 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.6996, allocations: 7.906 kB / 1.115 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.6999, allocations: 117.2 kB / 1.115 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.6999, allocations: 7.906 kB / 1.115 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6999, allocations: 4 kB / 1.115 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.6999, allocations: 3.938 kB / 1.115 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.7003, allocations: 366.9 kB / 1.115 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7004, allocations: 0 / 1.115 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.433e-05/0.7005, allocations: 16 kB / 1.115 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.7005, allocations: 7.984 kB / 1.115 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.7005, allocations: 3.938 kB / 1.115 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7005, allocations: 0 / 1.115 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7005, allocations: 1.219 kB / 1.115 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001953/0.7007, allocations: 195.3 kB / 1.115 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.7008, allocations: 89 kB / 1.116 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.7008, allocations: 4 kB / 1.116 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.7009, allocations: 15.98 kB / 1.116 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.701, allocations: 7.984 kB / 1.116 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.701, allocations: 4 kB / 1.116 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.715e-05/0.701, allocations: 96.52 kB / 1.116 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002922/0.7013, allocations: 47.94 kB / 1.116 GB, free: 1.629 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.0003293/0.7017, allocations: 175.3 kB / 1.116 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.7018, allocations: 71.86 kB / 1.116 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.7018, allocations: 0 / 1.116 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.7019, allocations: 35.98 kB / 1.116 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.7021, allocations: 20.16 kB / 1.116 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.7025, allocations: 125.2 kB / 1.116 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.7027, allocations: 0.7153 MB / 1.117 GB, free: 468 kB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7027, allocations: 0 / 1.117 GB, free: 468 kB / 0.7136 GB Notification: Performance of Templates: time 0.00411/0.7069, allocations: 1.89 MB / 1.119 GB, free: 14.6 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)