Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.532/1.532, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.00149/0.00149, allocations: 175.4 kB / 361.1 MB, free: 7.098 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.372/1.372, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.000897/0.0008966, allocations: 94.95 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.292e-06/6.392e-06, allocations: 0 / 0.8511 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5839/0.5839, allocations: 115.3 MB / 0.9637 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.7426, allocations: 137.4 MB / 1.098 GB, free: 2.648 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.743, allocations: 74.3 kB / 1.098 GB, free: 2.578 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.006191/0.7492, allocations: 1.832 MB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.7492, allocations: 0 / 1.1 GB, free: 0.7812 MB / 0.698 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.0004426/0.7497, allocations: 373.2 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.7497, allocations: 9.906 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.7498, allocations: 3.906 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.7499, allocations: 174.3 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.7499, allocations: 0 / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.75, allocations: 0.9375 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.22e-05/0.75, allocations: 4 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.289e-05/0.7501, allocations: 42.58 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.7501, allocations: 0.5 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.7501, allocations: 4 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.7501, allocations: 1.641 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.7503, allocations: 136.1 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.118e-05/0.7504, allocations: 25.52 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.7504, allocations: 16.98 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.7505, allocations: 0 / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.038e-05/0.7505, allocations: 48.34 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.944e-06/0.7505, allocations: 4.656 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001681/0.7507, allocations: 53.53 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.7508, allocations: 53.09 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.7508, allocations: 93.52 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.7509, allocations: 25.7 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.7509, allocations: 80.8 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.7509, allocations: 12.42 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.7509, allocations: 0 / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.751, allocations: 323 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.7511, allocations: 5.594 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.7511, allocations: 31.44 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.627e-05/0.7511, allocations: 14.56 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7512, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001056/0.7513, allocations: 62.38 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.7513, allocations: 6.812 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.7513, allocations: 4 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.7513, allocations: 0.875 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.7514, allocations: 15.98 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.7514, allocations: 4.531 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.7514, allocations: 0.5625 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.7515, allocations: 4 kB / 1.101 GB, free: 14.99 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 7.747e-05/0.7515, allocations: 113.1 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.7516, allocations: 5.078 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.7516, allocations: 6.219 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.7516, allocations: 0 / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7516, allocations: 0.6875 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.7516, allocations: 4.562 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.7518, allocations: 134.8 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7518, allocations: 4.719 kB / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/0.7518, allocations: 3.906 kB / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.7518, allocations: 0.5312 kB / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.7518, allocations: 3.984 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.7518, allocations: 4.562 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7518, allocations: 0.8125 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001146/0.7519, allocations: 71.69 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.752, allocations: 77.11 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.752, allocations: 6.312 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.639e-05/0.752, allocations: 4.828 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.7521, allocations: 0 / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.7521, allocations: 0 / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.653e-05/0.7521, allocations: 85.05 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000294/0.7524, allocations: 44.48 kB / 1.102 GB, free: 14.37 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.0003728/0.7528, allocations: 180.2 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.856e-05/0.7529, allocations: 24.64 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7529, allocations: 0 / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.994e-05/0.753, allocations: 11.94 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.516e-05/0.7531, allocations: 4 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002053/0.7533, allocations: 68.92 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.7535, allocations: 0.6876 MB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7536, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of Templates: time 0.003387/0.7569, allocations: 1.218 MB / 1.104 GB, free: 12.18 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)