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.RealReplicator.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.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") [: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.328/2.328, allocations: 253.1 MB / 260.4 MB, free: 7.453 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.001744/0.001744, allocations: 181.2 kB / 319.6 MB, free: 3.297 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.193/2.193, allocations: 205.4 MB / 0.5704 GB, free: 14.95 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.001313/0.001313, allocations: 96.12 kB / 0.6746 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.217e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2448, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7351/0.98, allocations: 131.4 MB / 1.016 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004755/0.9806, allocations: 68.39 kB / 1.016 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004289/0.9849, allocations: 360.7 kB / 1.017 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.985, allocations: 0 / 1.017 GB, free: 6.582 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008558/0.9859, allocations: 341.8 kB / 1.017 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.276e-05/0.986, allocations: 8.031 kB / 1.017 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.387e-05/0.9861, allocations: 4 kB / 1.017 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.9866, allocations: 170.9 kB / 1.017 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.9866, allocations: 7.938 kB / 1.017 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.9867, allocations: 0 / 1.017 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001625/0.9868, allocations: 14.75 kB / 1.017 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.9871, allocations: 40.89 kB / 1.017 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.9871, allocations: 3.984 kB / 1.017 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.9871, allocations: 2.625 kB / 1.017 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.9872, allocations: 4 kB / 1.017 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.9882, allocations: 264 kB / 1.018 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.9885, allocations: 18.58 kB / 1.018 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.676e-05/0.9886, allocations: 12.3 kB / 1.018 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.9886, allocations: 0 / 1.018 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/0.9887, allocations: 34.62 kB / 1.018 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 4.137e-06/0.9887, allocations: 0 / 1.018 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0003395/0.989, allocations: 29.7 kB / 1.018 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.9891, allocations: 55.44 kB / 1.018 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.9893, allocations: 104.6 kB / 1.018 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.9894, allocations: 25.7 kB / 1.018 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.9895, allocations: 87.48 kB / 1.018 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.9895, allocations: 0 / 1.018 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-06/0.9895, allocations: 0 / 1.018 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002506/0.9898, allocations: 314.8 kB / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.886e-05/0.9899, allocations: 3.562 kB / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.389e-05/0.99, allocations: 11.98 kB / 1.018 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.12e-05/0.99, allocations: 0 / 1.018 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.9901, allocations: 0 / 1.018 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002254/0.9903, allocations: 45.11 kB / 1.018 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.9904, allocations: 8 kB / 1.018 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.9904, allocations: 0 / 1.018 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.9904, allocations: 7.922 kB / 1.018 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.9907, allocations: 16.08 kB / 1.018 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.9907, allocations: 0 / 1.018 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.9908, allocations: 11.98 kB / 1.018 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.9909, allocations: 0 / 1.018 GB, free: 4.816 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001183/0.991, allocations: 104.9 kB / 1.018 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.9911, allocations: 0 / 1.018 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.9911, allocations: 10.55 kB / 1.018 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.9912, allocations: 8 kB / 1.018 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.9912, allocations: 0 / 1.018 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.9912, allocations: 0 / 1.018 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.9915, allocations: 141.7 kB / 1.019 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.9916, allocations: 0 / 1.019 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.9918, allocations: 8 kB / 1.019 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/0.9918, allocations: 3.938 kB / 1.019 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.9919, allocations: 0 / 1.019 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.9919, allocations: 4 kB / 1.019 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.928e-06/0.9919, allocations: 4 kB / 1.019 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003123/0.9922, allocations: 139 kB / 1.019 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.9924, allocations: 77.11 kB / 1.019 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.9925, allocations: 0 / 1.019 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.9928, allocations: 16.02 kB / 1.019 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.9929, allocations: 0 / 1.019 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.9929, allocations: 0 / 1.019 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001147/0.9931, allocations: 89.44 kB / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006499/0.9937, allocations: 4 kB / 1.019 GB, free: 4.16 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002295/0.994, allocations: 99.23 kB / 1.019 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.9942, allocations: 7.5 kB / 1.019 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.9942, allocations: 4.062 kB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.693e-05/0.9943, allocations: 7.938 kB / 1.019 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.9948, allocations: 7.984 kB / 1.019 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.9953, allocations: 63.41 kB / 1.019 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/0.9958, allocations: 0.6957 MB / 1.02 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of SimCode: time 1.392e-06/0.9958, allocations: 0 / 1.02 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of Templates: time 0.004692/1.001, allocations: 383.6 kB / 1.02 GB, free: 2.859 MB / 0.6355 GB