Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D") [: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.502/1.502, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.00105/0.00105, allocations: 181.2 kB / 366.3 MB, free: 1.988 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.82 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.000895/0.0008951, allocations: 88.23 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.181e-05/1.184e-05, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5682/0.5683, allocations: 116.3 MB / 0.9725 GB, free: 68.72 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.7342, allocations: 138.3 MB / 1.108 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.7345, allocations: 75.89 kB / 1.108 GB, free: 10.07 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.005749/0.7403, allocations: 1.835 MB / 1.11 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.7403, allocations: 0 / 1.11 GB, free: 8.246 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.0003774/0.7407, allocations: 374.1 kB / 1.11 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.7407, allocations: 8.031 kB / 1.11 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.7407, allocations: 3.906 kB / 1.11 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.7409, allocations: 167.7 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.7409, allocations: 8.547 kB / 1.11 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.7409, allocations: 8.438 kB / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.037e-05/0.741, allocations: 0 / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.893e-05/0.7411, allocations: 38.84 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.7411, allocations: 4 kB / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.7411, allocations: 0 / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.7411, allocations: 4.562 kB / 1.11 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.7413, allocations: 134.2 kB / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.779e-05/0.7413, allocations: 22.56 kB / 1.11 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/0.7414, allocations: 17 kB / 1.11 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.7414, allocations: 3.984 kB / 1.11 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.406e-05/0.7415, allocations: 59.34 kB / 1.11 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.7415, allocations: 1.406 kB / 1.11 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001616/0.7417, allocations: 49.59 kB / 1.11 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.7417, allocations: 51.41 kB / 1.11 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.2e-05/0.7418, allocations: 89 kB / 1.111 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.7418, allocations: 25.7 kB / 1.111 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.7418, allocations: 84.14 kB / 1.111 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.7418, allocations: 11.89 kB / 1.111 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.7419, allocations: 4 kB / 1.111 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.742, allocations: 321.2 kB / 1.111 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.742, allocations: 4 kB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/0.742, allocations: 35.38 kB / 1.111 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.345e-05/0.7421, allocations: 11.92 kB / 1.111 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.7421, allocations: 4 kB / 1.111 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.146e-05/0.7422, allocations: 57.62 kB / 1.111 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.7422, allocations: 8 kB / 1.111 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.7422, allocations: 1.125 kB / 1.111 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.7422, allocations: 0 / 1.111 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.7423, allocations: 8 kB / 1.111 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.7423, allocations: 3.906 kB / 1.111 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.8e-05/0.7423, allocations: 7.984 kB / 1.111 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.7423, allocations: 0 / 1.111 GB, free: 6.438 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.933e-05/0.7424, allocations: 121 kB / 1.111 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.7424, allocations: 3.906 kB / 1.111 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.7425, allocations: 3.688 kB / 1.111 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.7425, allocations: 0 / 1.111 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7425, allocations: 4 kB / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7425, allocations: 0 / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.7426, allocations: 132.6 kB / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.7426, allocations: 0 / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/0.7426, allocations: 3.906 kB / 1.111 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.7426, allocations: 4 kB / 1.111 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.7426, allocations: 3.984 kB / 1.111 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7427, allocations: 5.562 kB / 1.111 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7427, allocations: 0 / 1.111 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.938e-05/0.7428, allocations: 73.03 kB / 1.111 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.7428, allocations: 81.44 kB / 1.111 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.7428, allocations: 0 / 1.111 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/0.7429, allocations: 7.938 kB / 1.111 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.7429, allocations: 7.984 kB / 1.112 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.7429, allocations: 4 kB / 1.112 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.39e-05/0.7429, allocations: 79.27 kB / 1.112 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002423/0.7432, allocations: 47.92 kB / 1.112 GB, free: 5.781 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.000338/0.7435, allocations: 176.3 kB / 1.112 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.06e-05/0.7436, allocations: 27.94 kB / 1.112 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.7436, allocations: 0 / 1.112 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.776e-05/0.7437, allocations: 15.98 kB / 1.112 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.564e-05/0.7438, allocations: 4 kB / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001998/0.744, allocations: 61.42 kB / 1.112 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.7442, allocations: 0.6876 MB / 1.113 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7442, allocations: 0 / 1.113 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of Templates: time 0.003145/0.7474, allocations: 1.222 MB / 1.114 GB, free: 3.578 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)