Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.297/2.297, allocations: 284.9 MB / 292.2 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002474/0.002474, allocations: 181.2 kB / 360.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 89 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.21e-05/2.222e-05, allocations: 8 kB / 0.8502 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6411/0.6411, allocations: 115.2 MB / 0.9628 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2136/0.8548, allocations: 137.3 MB / 1.097 GB, free: 3.348 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.8552, allocations: 71.95 kB / 1.097 GB, free: 3.277 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01028/0.8655, allocations: 1.993 MB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.8655, allocations: 0.8438 kB / 1.099 GB, free: 1.328 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004966/0.866, allocations: 384.6 kB / 1.099 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.8661, allocations: 8.531 kB / 1.099 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.8661, allocations: 9.688 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.8663, allocations: 160.8 kB / 1.099 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.8663, allocations: 0.6562 kB / 1.099 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.8664, allocations: 9.906 kB / 1.099 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.025e-05/0.8664, allocations: 11.98 kB / 1.099 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.8665, allocations: 37.62 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8666, allocations: 0.7031 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.8666, allocations: 4.75 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.8666, allocations: 0 / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.8668, allocations: 135.4 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.115e-05/0.8669, allocations: 23.17 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.8669, allocations: 13.42 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.8669, allocations: 9.641 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.8671, allocations: 62.72 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.723e-06/0.8671, allocations: 0.7188 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0001841/0.8673, allocations: 56.81 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.8673, allocations: 51.41 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.8674, allocations: 93.53 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.8675, allocations: 26.33 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.8676, allocations: 88.78 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.8676, allocations: 11.78 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.8676, allocations: 0.5938 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8678, allocations: 315.8 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-05/0.8678, allocations: 8 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.369e-05/0.8679, allocations: 37.64 kB / 1.1 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.8679, allocations: 17.92 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.868, allocations: 0 / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00016/0.8681, allocations: 71.5 kB / 1.1 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.8682, allocations: 4 kB / 1.1 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8682, allocations: 1.656 kB / 1.1 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.8682, allocations: 4 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.8683, allocations: 11.98 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8683, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.8684, allocations: 8.531 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.8684, allocations: 0.5938 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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 0.0001155/0.8685, allocations: 119 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.8686, allocations: 4.875 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.8686, allocations: 7.75 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.8686, allocations: 0.7812 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8686, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.8686, allocations: 0.7188 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.8688, allocations: 143 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.8688, allocations: 1.5 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.8689, allocations: 11.91 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.8689, allocations: 0 / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.8689, allocations: 0 / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.8689, allocations: 4 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.8689, allocations: 0 / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001471/0.8691, allocations: 75.41 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.8691, allocations: 77.11 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.8692, allocations: 11.92 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.8692, allocations: 8.75 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.8693, allocations: 3.906 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.8693, allocations: 0 / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.6e-05/0.8693, allocations: 79.28 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004205/0.8698, allocations: 51.86 kB / 1.101 GB, free: 14.83 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 (5): * Single equations (assignments): 3 * 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.0004857/0.8703, allocations: 174.1 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.8704, allocations: 35.92 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8704, allocations: 0 / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.782e-05/0.8705, allocations: 13.31 kB / 1.101 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.8707, allocations: 4 kB / 1.101 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.8709, allocations: 72.53 kB / 1.101 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/0.8713, allocations: 0.6921 MB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.8713, allocations: 4 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of Templates: time 0.00519/0.8765, allocations: 1.289 MB / 1.103 GB, free: 12.55 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)