Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D") [: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 7.0.1/package.mo): time 2.246/2.246, allocations: 253.1 MB / 260.4 MB, free: 7.508 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 192.1 kB / 319.6 MB, free: 3.215 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.4 MB / 0.5704 GB, free: 14.99 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001327/0.001326, allocations: 97.89 kB / 0.6746 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.677e-06/8.846e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2074, allocations: 106.3 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6402/0.8477, allocations: 132 MB / 1.017 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.848, allocations: 72.45 kB / 1.017 GB, free: 6.27 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.009957/0.858, allocations: 1.921 MB / 1.019 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.858, allocations: 4 kB / 1.019 GB, free: 4.672 MB / 0.6355 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.0005566/0.8586, allocations: 383.1 kB / 1.019 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.8586, allocations: 8.031 kB / 1.019 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.8587, allocations: 0 / 1.019 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.8589, allocations: 171 kB / 1.019 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.8589, allocations: 0 / 1.019 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.859, allocations: 4 kB / 1.019 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.469e-05/0.859, allocations: 6.75 kB / 1.019 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.918e-05/0.8591, allocations: 37.69 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.8591, allocations: 4 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.8592, allocations: 0 / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.8592, allocations: 0 / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.8594, allocations: 137.3 kB / 1.02 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.923e-05/0.8595, allocations: 29.72 kB / 1.02 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.8e-05/0.8595, allocations: 12.86 kB / 1.02 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.8596, allocations: 6.625 kB / 1.02 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.8597, allocations: 50.62 kB / 1.02 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.945e-06/0.8597, allocations: 4 kB / 1.02 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002099/0.86, allocations: 45.19 kB / 1.02 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.8601, allocations: 53.84 kB / 1.02 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/0.8602, allocations: 96.47 kB / 1.02 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.8602, allocations: 25.7 kB / 1.02 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.8603, allocations: 88.12 kB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.8603, allocations: 11.84 kB / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/0.8604, allocations: 0 / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8605, allocations: 313.5 kB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.06e-05/0.8605, allocations: 10.98 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.779e-05/0.8606, allocations: 34.23 kB / 1.02 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.322e-05/0.8607, allocations: 12.78 kB / 1.02 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.8607, allocations: 0 / 1.02 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001499/0.8608, allocations: 63.16 kB / 1.02 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.8609, allocations: 4 kB / 1.02 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.8609, allocations: 4 kB / 1.02 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.8609, allocations: 0 / 1.02 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.861, allocations: 15.92 kB / 1.02 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.8611, allocations: 0.625 kB / 1.02 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.8611, allocations: 4.094 kB / 1.02 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.8611, allocations: 7.938 kB / 1.02 GB, free: 2.887 MB / 0.6355 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 0.0001149/0.8613, allocations: 117.6 kB / 1.021 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.8613, allocations: 0 / 1.021 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.8613, allocations: 3.688 kB / 1.021 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.8614, allocations: 0 / 1.021 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8614, allocations: 0 / 1.021 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.8614, allocations: 4 kB / 1.021 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.8615, allocations: 133.8 kB / 1.021 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.8616, allocations: 8 kB / 1.021 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-05/0.8616, allocations: 3.984 kB / 1.021 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.8616, allocations: 3.688 kB / 1.021 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.8616, allocations: 0 / 1.021 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.8616, allocations: 4 kB / 1.021 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8617, allocations: 0 / 1.021 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000157/0.8618, allocations: 67.72 kB / 1.021 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.8619, allocations: 77.11 kB / 1.021 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.8619, allocations: 16.22 kB / 1.021 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.631e-05/0.862, allocations: 0 / 1.021 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.862, allocations: 2.562 kB / 1.021 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.862, allocations: 4 kB / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.458e-05/0.8621, allocations: 83.2 kB / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004309/0.8625, allocations: 50.55 kB / 1.021 GB, free: 2.258 MB / 0.6355 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.0005338/0.8631, allocations: 169.9 kB / 1.021 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001594/0.8633, allocations: 27.3 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.8633, allocations: 0 / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.8633, allocations: 15.25 kB / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.8635, allocations: 0 / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.8638, allocations: 72.28 kB / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/0.8642, allocations: 0.6917 MB / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/0.8642, allocations: 0 / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of Templates: time 0.005333/0.8696, allocations: 1.239 MB / 1.023 GB, free: 28 kB / 0.6355 GB