Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") [: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.467/1.467, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.001222/0.001222, allocations: 185.3 kB / 361.1 MB, free: 7.094 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.244/1.244, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008756/0.0008755, allocations: 95.19 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.282e-06/6.292e-06, allocations: 0 / 0.851 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5415/0.5415, allocations: 115.3 MB / 0.9637 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.6995, allocations: 137.3 MB / 1.098 GB, free: 2.742 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.6998, allocations: 72.56 kB / 1.098 GB, free: 2.672 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.005446/0.7052, allocations: 1.708 MB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.7053, allocations: 4 kB / 1.099 GB, free: 1 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.0004542/0.7057, allocations: 369.8 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.7058, allocations: 8.531 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.7058, allocations: 9.594 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.706, allocations: 167.8 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.706, allocations: 0 / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.706, allocations: 3.984 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.576e-05/0.7061, allocations: 8 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.693e-05/0.7061, allocations: 33.69 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.7062, allocations: 0.6094 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.7062, allocations: 0 / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.7062, allocations: 4 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.7063, allocations: 131.3 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.387e-05/0.7064, allocations: 32.55 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.7064, allocations: 13.66 kB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.7065, allocations: 0 / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.229e-05/0.7065, allocations: 50.45 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.7065, allocations: 0 / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001655/0.7067, allocations: 50.25 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.7068, allocations: 55.39 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.461e-05/0.7068, allocations: 94.31 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.7069, allocations: 25.7 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.7069, allocations: 82.52 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.7069, allocations: 7.906 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.7069, allocations: 0 / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.707, allocations: 317.3 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.7071, allocations: 11.92 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.288e-05/0.7071, allocations: 30.5 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.7071, allocations: 13.81 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7071, allocations: 0 / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001028/0.7073, allocations: 63.17 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.7073, allocations: 9.141 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.7073, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.7073, allocations: 7.938 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.931e-05/0.7074, allocations: 4 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.7074, allocations: 4.938 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.7074, allocations: 5.875 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.7074, allocations: 8.5 kB / 1.101 GB, free: 15.22 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.335e-05/0.7075, allocations: 105.9 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-06/0.7075, allocations: 4 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.7076, allocations: 9.359 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.7076, allocations: 0 / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7076, allocations: 0.8438 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.7076, allocations: 3.906 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.7077, allocations: 134.9 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7077, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.014e-05/0.7077, allocations: 2.938 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.7078, allocations: 4 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.7078, allocations: 0.5156 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.7078, allocations: 0 / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7078, allocations: 0 / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.712e-05/0.7079, allocations: 78.09 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.7079, allocations: 86.27 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.7079, allocations: 3.906 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.242e-05/0.708, allocations: 0 / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.708, allocations: 0 / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.708, allocations: 4.656 kB / 1.101 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.976e-05/0.708, allocations: 79.81 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002605/0.7083, allocations: 40.52 kB / 1.102 GB, free: 14.61 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.000344/0.7087, allocations: 157.4 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.286e-05/0.7088, allocations: 24.59 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7088, allocations: 0.6875 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.61e-05/0.7088, allocations: 16.8 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.788e-05/0.7089, allocations: 9.062 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/0.7091, allocations: 69.66 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.7094, allocations: 0.6876 MB / 1.102 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of SimCode: time 1.452e-06/0.7094, allocations: 0.5625 kB / 1.102 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of Templates: time 0.003182/0.7126, allocations: 1.152 MB / 1.104 GB, free: 12.5 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)