Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.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.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") [: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.361/2.361, allocations: 253.1 MB / 260.4 MB, free: 7.406 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.002259/0.002259, allocations: 185.3 kB / 319.6 MB, free: 3.312 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 2.134/2.134, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001414/0.001414, allocations: 99.5 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.217e-05/1.233e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2821, allocations: 106.3 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8071/1.089, allocations: 131.6 MB / 1.017 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.09, allocations: 72.45 kB / 1.017 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003447/1.093, allocations: 0.5354 MB / 1.017 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.168e-05/1.093, allocations: 0 / 1.017 GB, free: 6.211 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005351/1.094, allocations: 349 kB / 1.017 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/1.094, allocations: 12.03 kB / 1.018 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/1.094, allocations: 0 / 1.018 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/1.094, allocations: 178 kB / 1.018 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/1.094, allocations: 4 kB / 1.018 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/1.094, allocations: 3.938 kB / 1.018 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001186/1.094, allocations: 23.17 kB / 1.018 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/1.094, allocations: 49.36 kB / 1.018 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.095, allocations: 0 / 1.018 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/1.095, allocations: 0 / 1.018 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/1.095, allocations: 3.906 kB / 1.018 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/1.095, allocations: 251.5 kB / 1.018 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.621e-05/1.095, allocations: 28.7 kB / 1.018 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/1.095, allocations: 19.34 kB / 1.018 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/1.095, allocations: 0 / 1.018 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/1.095, allocations: 34.56 kB / 1.018 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/1.095, allocations: 0 / 1.018 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002324/1.096, allocations: 41.3 kB / 1.018 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/1.096, allocations: 55.41 kB / 1.018 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/1.096, allocations: 103.5 kB / 1.018 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/1.096, allocations: 29.64 kB / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/1.096, allocations: 88.08 kB / 1.018 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/1.096, allocations: 3.906 kB / 1.018 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/1.096, allocations: 4.031 kB / 1.018 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.096, allocations: 314.2 kB / 1.019 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.342e-05/1.096, allocations: 7.984 kB / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.084e-05/1.096, allocations: 7.188 kB / 1.019 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/1.096, allocations: 6.562 kB / 1.019 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.096, allocations: 3.938 kB / 1.019 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001349/1.096, allocations: 49.22 kB / 1.019 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/1.096, allocations: 4 kB / 1.019 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.096, allocations: 4.094 kB / 1.019 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.097, allocations: 0 / 1.019 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/1.097, allocations: 15.98 kB / 1.019 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.097, allocations: 0 / 1.019 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/1.097, allocations: 8 kB / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/1.097, allocations: 4 kB / 1.019 GB, free: 4.402 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001226/1.097, allocations: 112.8 kB / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/1.097, allocations: 0 / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/1.097, allocations: 14.2 kB / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/1.097, allocations: 0 / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.097, allocations: 0 / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/1.097, allocations: 0 / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/1.097, allocations: 145.3 kB / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.097, allocations: 0 / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/1.098, allocations: 15.98 kB / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.098, allocations: 0 / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/1.098, allocations: 0 / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/1.098, allocations: 0 / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.098, allocations: 4 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001964/1.098, allocations: 146.6 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/1.098, allocations: 81.14 kB / 1.019 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/1.098, allocations: 0 / 1.019 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/1.098, allocations: 19.08 kB / 1.019 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/1.098, allocations: 3.984 kB / 1.019 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/1.098, allocations: 4 kB / 1.019 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.694e-05/1.098, allocations: 88.02 kB / 1.019 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003175/1.099, allocations: 7.938 kB / 1.019 GB, free: 3.719 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002432/1.099, allocations: 107.2 kB / 1.02 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001264/1.099, allocations: 11.19 kB / 1.02 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.099, allocations: 0 / 1.02 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.26e-05/1.099, allocations: 15.55 kB / 1.02 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/1.099, allocations: 6.5 kB / 1.02 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/1.1, allocations: 79.03 kB / 1.02 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000473/1.1, allocations: 0.6958 MB / 1.02 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/1.1, allocations: 0 / 1.02 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of Templates: time 0.00359/1.104, allocations: 0.5351 MB / 1.021 GB, free: 2.238 MB / 0.6355 GB