Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D") [: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.221/2.221, allocations: 253.1 MB / 260.4 MB, free: 7.414 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.001597/0.001596, allocations: 189.2 kB / 319.6 MB, free: 3.281 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.958/1.958, allocations: 205.4 MB / 0.5704 GB, free: 15.03 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.001366/0.001366, allocations: 102.3 kB / 0.6746 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.101e-05/1.12e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2082, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6798/0.8881, allocations: 131.9 MB / 1.017 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003738/0.8886, allocations: 72.02 kB / 1.017 GB, free: 6.336 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.01311/0.9017, allocations: 1.831 MB / 1.019 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.9017, allocations: 4 kB / 1.019 GB, free: 4.816 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.0006468/0.9024, allocations: 371.3 kB / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.9025, allocations: 11.97 kB / 1.019 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.9025, allocations: 8 kB / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.9027, allocations: 170.5 kB / 1.019 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.453e-05/0.9028, allocations: 0 / 1.019 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.9028, allocations: 4 kB / 1.019 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.278e-05/0.9029, allocations: 4.688 kB / 1.019 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.903, allocations: 37.62 kB / 1.019 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.9031, allocations: 0 / 1.019 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.9031, allocations: 0 / 1.019 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.9031, allocations: 0 / 1.019 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.9034, allocations: 137.4 kB / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.9035, allocations: 29.95 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.9036, allocations: 12.98 kB / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.9037, allocations: 0 / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.9038, allocations: 51.16 kB / 1.02 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.524e-06/0.9039, allocations: 0 / 1.02 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002533/0.9041, allocations: 52.88 kB / 1.02 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.9042, allocations: 54.66 kB / 1.02 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.9043, allocations: 96.94 kB / 1.02 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.9044, allocations: 29.7 kB / 1.02 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.9045, allocations: 83.83 kB / 1.02 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.9045, allocations: 7.891 kB / 1.02 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.9045, allocations: 0.8438 kB / 1.02 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.9047, allocations: 320.7 kB / 1.02 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.9048, allocations: 8 kB / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.9049, allocations: 26.94 kB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.511e-05/0.9049, allocations: 15.73 kB / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.905, allocations: 0 / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002103/0.9052, allocations: 64.66 kB / 1.02 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.9052, allocations: 8.094 kB / 1.02 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.9053, allocations: 0 / 1.02 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.9053, allocations: 7.938 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.9054, allocations: 4.5 kB / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.9055, allocations: 7.984 kB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.9055, allocations: 3.938 kB / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.9056, allocations: 4 kB / 1.02 GB, free: 3.039 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.0001225/0.9057, allocations: 112.8 kB / 1.02 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.9058, allocations: 0 / 1.02 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.9058, allocations: 14.75 kB / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.9058, allocations: 0 / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.9059, allocations: 0 / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.9059, allocations: 0 / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.9061, allocations: 138.1 kB / 1.021 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9062, allocations: 0 / 1.021 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.253e-05/0.9062, allocations: 0 / 1.021 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.9062, allocations: 4 kB / 1.021 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.9062, allocations: 3.984 kB / 1.021 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.9063, allocations: 0 / 1.021 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9063, allocations: 0 / 1.021 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001951/0.9065, allocations: 79.41 kB / 1.021 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.9066, allocations: 77.11 kB / 1.021 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.9066, allocations: 3.906 kB / 1.021 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.745e-05/0.9067, allocations: 0 / 1.021 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.9067, allocations: 7.984 kB / 1.021 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.9068, allocations: 0 / 1.021 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.14e-05/0.9068, allocations: 82.72 kB / 1.021 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006849/0.9076, allocations: 47.92 kB / 1.021 GB, free: 2.41 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.0006682/0.9082, allocations: 177.2 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.9084, allocations: 19.44 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9085, allocations: 0 / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.934e-05/0.9085, allocations: 19.61 kB / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.9088, allocations: 8 kB / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.9091, allocations: 70.83 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/0.9096, allocations: 0.6912 MB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of SimCode: time 1.252e-06/0.9096, allocations: 0 / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of Templates: time 0.007447/0.917, allocations: 1.217 MB / 1.023 GB, free: 196 kB / 0.6355 GB