Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.316/2.316, allocations: 253.1 MB / 260.4 MB, free: 7.492 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.001658/0.001658, allocations: 189.2 kB / 319.6 MB, free: 3.309 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.881/1.881, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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.001241/0.001241, allocations: 89.52 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.648e-06/9.708e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2079, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6741/0.8821, allocations: 132 MB / 1.017 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003852/0.8825, allocations: 76 kB / 1.017 GB, free: 6.246 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.01755/0.9001, allocations: 1.994 MB / 1.019 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.9002, allocations: 0 / 1.019 GB, free: 4.598 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007452/0.9009, allocations: 375.4 kB / 1.019 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.12e-05/0.901, allocations: 15.97 kB / 1.019 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.9011, allocations: 7.938 kB / 1.019 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.9013, allocations: 166.6 kB / 1.02 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/0.9014, allocations: 0 / 1.02 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.9014, allocations: 4 kB / 1.02 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.65e-05/0.9015, allocations: 4 kB / 1.02 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.9017, allocations: 41.12 kB / 1.02 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.9017, allocations: 0 / 1.02 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.9018, allocations: 4.797 kB / 1.02 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.9018, allocations: 0 / 1.02 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.9021, allocations: 141 kB / 1.02 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.062e-05/0.9022, allocations: 22.52 kB / 1.02 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.783e-05/0.9023, allocations: 16.73 kB / 1.02 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.9023, allocations: 0 / 1.02 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.9025, allocations: 57.12 kB / 1.02 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 3.647e-06/0.9025, allocations: 0 / 1.02 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002781/0.9028, allocations: 57.66 kB / 1.02 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.9029, allocations: 51.41 kB / 1.02 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.903, allocations: 96.55 kB / 1.02 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.9031, allocations: 25.7 kB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.9032, allocations: 84.14 kB / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.9032, allocations: 19.61 kB / 1.02 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.9033, allocations: 3.938 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.9035, allocations: 323.7 kB / 1.02 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/0.9035, allocations: 7.75 kB / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.36e-05/0.9036, allocations: 32.17 kB / 1.02 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.036e-05/0.9037, allocations: 8 kB / 1.02 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.9037, allocations: 4 kB / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002479/0.904, allocations: 69.11 kB / 1.021 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.9041, allocations: 10.41 kB / 1.021 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.9041, allocations: 8.062 kB / 1.021 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.9041, allocations: 0 / 1.021 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.9043, allocations: 15.88 kB / 1.021 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.9043, allocations: 0 / 1.021 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.9044, allocations: 7.938 kB / 1.021 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.9045, allocations: 7.984 kB / 1.021 GB, free: 2.777 MB / 0.6355 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.0001275/0.9046, allocations: 105.1 kB / 1.021 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.9047, allocations: 7.906 kB / 1.021 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.003e-05/0.9048, allocations: 6.688 kB / 1.021 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.9048, allocations: 4.031 kB / 1.021 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.9048, allocations: 0 / 1.021 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.9048, allocations: 0 / 1.021 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.905, allocations: 134.1 kB / 1.021 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.9051, allocations: 3.938 kB / 1.021 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.9051, allocations: 7.688 kB / 1.021 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.9052, allocations: 4 kB / 1.021 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.9052, allocations: 7.984 kB / 1.021 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.9052, allocations: 160 / 1.021 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.9052, allocations: 0 / 1.021 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002428/0.9055, allocations: 79.83 kB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.9056, allocations: 81.02 kB / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.9057, allocations: 4 kB / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.9058, allocations: 0 / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.9058, allocations: 7.984 kB / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.9058, allocations: 0 / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.961e-05/0.9059, allocations: 86.66 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006502/0.9066, allocations: 55.86 kB / 1.021 GB, free: 2.129 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 (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.0006668/0.9073, allocations: 160 kB / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.9075, allocations: 23.56 kB / 1.021 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.9076, allocations: 3.938 kB / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.9077, allocations: 19.73 kB / 1.021 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.9079, allocations: 0 / 1.021 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.9083, allocations: 82.17 kB / 1.021 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004368/0.9088, allocations: 0.6919 MB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of SimCode: time 1.412e-06/0.9088, allocations: 0 / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of Templates: time 0.007828/0.9166, allocations: 1.294 MB / 1.023 GB, free: 15.83 MB / 0.6511 GB