Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") [: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.527/1.527, allocations: 289.8 MB / 297.1 MB, free: 6.617 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.001115/0.001116, allocations: 184 kB / 366.3 MB, free: 1.945 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.27/1.27, allocations: 205.1 MB / 0.6256 GB, free: 5.891 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.0008679/0.0008681, allocations: 90.94 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.762e-06/6.873e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5759/0.5759, allocations: 116.3 MB / 0.9725 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.7457, allocations: 138.3 MB / 1.108 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.746, allocations: 72.94 kB / 1.108 GB, free: 10.05 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/exponentialVariableGeneration.mo:11:5-11:98: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.005812/0.7518, allocations: 1.734 MB / 1.109 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.7518, allocations: 0 / 1.109 GB, free: 8.32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000365/0.7522, allocations: 348.7 kB / 1.11 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.7523, allocations: 8.031 kB / 1.11 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.7523, allocations: 7.906 kB / 1.11 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.7524, allocations: 163.6 kB / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.7525, allocations: 0 / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.7525, allocations: 4.531 kB / 1.11 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.678e-05/0.7525, allocations: 0.5938 kB / 1.11 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.556e-05/0.7526, allocations: 38.53 kB / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.7526, allocations: 0 / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.7526, allocations: 4 kB / 1.11 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.7526, allocations: 0.5625 kB / 1.11 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.7528, allocations: 139.6 kB / 1.11 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.7529, allocations: 30.61 kB / 1.11 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.7529, allocations: 8.859 kB / 1.11 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.7529, allocations: 0 / 1.11 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.39e-05/0.753, allocations: 53.97 kB / 1.11 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.753, allocations: 4 kB / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001903/0.7532, allocations: 49.59 kB / 1.11 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.7532, allocations: 55.34 kB / 1.11 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.7533, allocations: 93 kB / 1.11 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.7533, allocations: 25.7 kB / 1.11 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.7534, allocations: 80.14 kB / 1.11 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.7534, allocations: 15.83 kB / 1.11 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.7534, allocations: 0 / 1.11 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.7535, allocations: 319 kB / 1.111 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.7536, allocations: 4 kB / 1.111 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.7536, allocations: 35.42 kB / 1.111 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.403e-05/0.7536, allocations: 9.766 kB / 1.111 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7536, allocations: 0 / 1.111 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001046/0.7537, allocations: 65.53 kB / 1.111 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.7538, allocations: 4 kB / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7538, allocations: 4 kB / 1.111 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.7538, allocations: 0 / 1.111 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.7539, allocations: 19.88 kB / 1.111 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.7539, allocations: 0 / 1.111 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.7539, allocations: 0 / 1.111 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.7539, allocations: 13.06 kB / 1.111 GB, free: 6.547 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.586e-05/0.754, allocations: 101.6 kB / 1.111 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.754, allocations: 8 kB / 1.111 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.754, allocations: 3.688 kB / 1.111 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.7541, allocations: 0 / 1.111 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7541, allocations: 0 / 1.111 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.7541, allocations: 3.906 kB / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.7542, allocations: 134.2 kB / 1.111 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.7542, allocations: 0 / 1.111 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.7542, allocations: 4.094 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.7542, allocations: 5.016 kB / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.7542, allocations: 0 / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7542, allocations: 4 kB / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.7542, allocations: 0 / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001142/0.7544, allocations: 84.95 kB / 1.111 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.7544, allocations: 77.11 kB / 1.111 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.7544, allocations: 3.906 kB / 1.111 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.7545, allocations: 0 / 1.111 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.7545, allocations: 4 kB / 1.111 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.7545, allocations: 7.984 kB / 1.111 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.817e-05/0.7545, allocations: 83.28 kB / 1.111 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002569/0.7548, allocations: 40.81 kB / 1.111 GB, free: 5.906 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003342/0.7551, allocations: 158.9 kB / 1.112 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.269e-05/0.7552, allocations: 28.14 kB / 1.112 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7552, allocations: 4.062 kB / 1.112 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.456e-05/0.7553, allocations: 8 kB / 1.112 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.269e-05/0.7554, allocations: 4.797 kB / 1.112 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/0.7556, allocations: 67.8 kB / 1.112 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.7558, allocations: 0.6876 MB / 1.112 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.7558, allocations: 0 / 1.112 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of Templates: time 0.003146/0.759, allocations: 1.168 MB / 1.114 GB, free: 3.77 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)