Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") [: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.289/2.289, allocations: 284.9 MB / 292.2 MB, free: 10.78 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.001803/0.001803, allocations: 177.3 kB / 360.4 MB, free: 7.531 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.79/1.79, allocations: 205.1 MB / 0.6188 GB, free: 13.21 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.001654/0.001654, allocations: 94.73 kB / 0.7318 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.487e-06/9.718e-06, allocations: 0 / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6289/0.629, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2108/0.8398, allocations: 137.4 MB / 1.097 GB, free: 3.461 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.8401, allocations: 76.56 kB / 1.097 GB, free: 3.387 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.01385/0.854, allocations: 2.006 MB / 1.099 GB, free: 1.426 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.854, allocations: 0 / 1.099 GB, free: 1.426 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.0006189/0.8546, allocations: 380.6 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.091e-05/0.8547, allocations: 8.969 kB / 1.099 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/0.8548, allocations: 9.969 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.8551, allocations: 170.1 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.8551, allocations: 0 / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.8552, allocations: 7.906 kB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.348e-05/0.8553, allocations: 8.453 kB / 1.1 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.8554, allocations: 37.69 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.8555, allocations: 0 / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.8555, allocations: 1.078 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.8555, allocations: 2.125 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.8558, allocations: 134.2 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.856, allocations: 30.61 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.8561, allocations: 12.86 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.8561, allocations: 7.906 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.8563, allocations: 54.53 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 3.466e-06/0.8563, allocations: 0.6562 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002381/0.8565, allocations: 46.44 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.8566, allocations: 52.59 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.8568, allocations: 101 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.8568, allocations: 25.7 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.8569, allocations: 88.77 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.857, allocations: 8.469 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.857, allocations: 0 / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.8572, allocations: 321.2 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.784e-05/0.8573, allocations: 4 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.8574, allocations: 36.7 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.876e-05/0.8575, allocations: 13.41 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.8575, allocations: 0.5312 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000218/0.8577, allocations: 62.53 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.8578, allocations: 4.812 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.8578, allocations: 4 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.8578, allocations: 3.984 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.858, allocations: 5.453 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.858, allocations: 4 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.227e-05/0.8581, allocations: 3.25 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.8581, allocations: 7.656 kB / 1.101 GB, free: 15.62 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 0.0001338/0.8583, allocations: 116.6 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.8583, allocations: 4 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.8584, allocations: 5.75 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.8584, allocations: 3.984 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8584, allocations: 0.5938 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.8584, allocations: 4.562 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.8586, allocations: 138.9 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8586, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.8586, allocations: 0.6875 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.8586, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.8586, allocations: 0.5625 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8587, allocations: 4.531 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8587, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001364/0.8588, allocations: 77.91 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.8589, allocations: 85.02 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.8589, allocations: 2.312 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.859, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.859, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.859, allocations: 4 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.233e-05/0.8591, allocations: 91.2 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003995/0.8595, allocations: 51.88 kB / 1.101 GB, free: 14.96 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.0004634/0.86, allocations: 169 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.8601, allocations: 24.73 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8601, allocations: 0 / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.8602, allocations: 12.19 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.8603, allocations: 9.375 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.8606, allocations: 72.48 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.861, allocations: 0.6876 MB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.861, allocations: 4 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.00523/0.8662, allocations: 1.266 MB / 1.103 GB, free: 12.73 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)