Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.164/2.164, allocations: 253.1 MB / 260.4 MB, free: 7.574 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.001671/0.00167, allocations: 169.3 kB / 319.6 MB, free: 3.344 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.856/1.856, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001226/0.001226, allocations: 94.62 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.214e-06/7.434e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2064, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6326/0.839, allocations: 132.1 MB / 1.017 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.8393, allocations: 73.83 kB / 1.017 GB, free: 6.219 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.01066/0.85, allocations: 2.012 MB / 1.019 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.85, allocations: 0 / 1.019 GB, free: 4.566 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.0006074/0.8506, allocations: 391 kB / 1.019 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.8507, allocations: 11.97 kB / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.8507, allocations: 0 / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.8509, allocations: 175 kB / 1.02 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.851, allocations: 0 / 1.02 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.851, allocations: 4 kB / 1.02 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.942e-05/0.851, allocations: 0 / 1.02 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.488e-05/0.8511, allocations: 37.69 kB / 1.02 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.8512, allocations: 0 / 1.02 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.8512, allocations: 3.938 kB / 1.02 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.8512, allocations: 0 / 1.02 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.8514, allocations: 137.6 kB / 1.02 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.565e-05/0.8515, allocations: 35.08 kB / 1.02 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.031e-05/0.8515, allocations: 12.42 kB / 1.02 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-06/0.8516, allocations: 0 / 1.02 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.8517, allocations: 53.44 kB / 1.02 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 5.039e-06/0.8517, allocations: 3.984 kB / 1.02 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001892/0.8519, allocations: 57.03 kB / 1.02 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.852, allocations: 55.41 kB / 1.02 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.468e-05/0.8521, allocations: 96.48 kB / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.8521, allocations: 25.7 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.8521, allocations: 88.08 kB / 1.02 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.8522, allocations: 11.34 kB / 1.02 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-06/0.8522, allocations: 0 / 1.02 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.8523, allocations: 310.8 kB / 1.02 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.8524, allocations: 15.42 kB / 1.021 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.005e-05/0.8524, allocations: 30.5 kB / 1.021 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.8525, allocations: 4 kB / 1.021 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.8525, allocations: 4 kB / 1.021 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001392/0.8527, allocations: 61.09 kB / 1.021 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.8527, allocations: 12.08 kB / 1.021 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.8527, allocations: 0 / 1.021 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.8527, allocations: 4 kB / 1.021 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.425e-05/0.8528, allocations: 7.938 kB / 1.021 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.8529, allocations: 0 / 1.021 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.934e-05/0.8529, allocations: 11.84 kB / 1.021 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.8529, allocations: 7.125 kB / 1.021 GB, free: 2.766 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 8.42e-05/0.853, allocations: 105 kB / 1.021 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.853, allocations: 3.906 kB / 1.021 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.8531, allocations: 15.98 kB / 1.021 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.8531, allocations: 0 / 1.021 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8531, allocations: 0 / 1.021 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8531, allocations: 0 / 1.021 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.8533, allocations: 133.7 kB / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8533, allocations: 0 / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.8533, allocations: 4 kB / 1.021 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.8533, allocations: 0 / 1.021 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.8534, allocations: 3.906 kB / 1.021 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.8534, allocations: 3.938 kB / 1.021 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.8534, allocations: 0 / 1.021 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001877/0.8536, allocations: 83.95 kB / 1.021 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.8536, allocations: 77.11 kB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.8537, allocations: 4 kB / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.44e-05/0.8537, allocations: 0 / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.8538, allocations: 0 / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.8538, allocations: 3.984 kB / 1.021 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.909e-05/0.8538, allocations: 82.91 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004386/0.8543, allocations: 55.78 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 (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.0004926/0.8548, allocations: 170.4 kB / 1.021 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.8549, allocations: 23.25 kB / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8549, allocations: 0 / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.474e-05/0.855, allocations: 14.67 kB / 1.021 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.8551, allocations: 7.984 kB / 1.021 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.8554, allocations: 79.67 kB / 1.021 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.8558, allocations: 0.6909 MB / 1.022 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.8558, allocations: 0 / 1.022 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of Templates: time 0.004991/0.8608, allocations: 1.268 MB / 1.023 GB, free: 15.86 MB / 0.6511 GB