Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.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 8.0.0/package.mo): time 2.292/2.292, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.001633/0.001632, allocations: 175.9 kB / 360.4 MB, free: 7.523 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.747/1.747, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001244/0.001243, allocations: 83.36 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.108e-05/1.118e-05, allocations: 4 kB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5782/0.5782, allocations: 115.2 MB / 0.9628 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2335/0.8118, allocations: 141 MB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.8121, allocations: 76.48 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02377/0.8359, allocations: 5.006 MB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.623e-05/0.836, allocations: 4 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007252/0.8368, allocations: 460.9 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.8368, allocations: 9.5 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.53e-05/0.8369, allocations: 15.81 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/0.8375, allocations: 259.6 kB / 1.106 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.8375, allocations: 4 kB / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.8376, allocations: 4.547 kB / 1.106 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001373/0.8377, allocations: 32.59 kB / 1.106 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.8379, allocations: 93.39 kB / 1.106 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.8379, allocations: 0 / 1.106 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.838, allocations: 5.5 kB / 1.106 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.838, allocations: 0.7188 kB / 1.106 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007013/0.8387, allocations: 353.2 kB / 1.107 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.8389, allocations: 78.72 kB / 1.107 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.8391, allocations: 28.91 kB / 1.107 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.8391, allocations: 4 kB / 1.107 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.8393, allocations: 79.33 kB / 1.107 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 4.128e-06/0.8393, allocations: 7.922 kB / 1.107 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003957/0.8397, allocations: 101.5 kB / 1.107 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.8398, allocations: 102.8 kB / 1.107 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.8402, allocations: 238.9 kB / 1.107 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.8402, allocations: 25.7 kB / 1.107 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.8404, allocations: 104 kB / 1.107 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.8404, allocations: 11.81 kB / 1.107 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-06/0.8404, allocations: 4 kB / 1.107 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8406, allocations: 334.8 kB / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-05/0.8407, allocations: 24 kB / 1.108 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.8408, allocations: 64.28 kB / 1.108 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.841, allocations: 37.53 kB / 1.108 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.841, allocations: 0 / 1.108 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003208/0.8413, allocations: 117.5 kB / 1.108 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.8413, allocations: 4 kB / 1.108 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.8414, allocations: 0 / 1.108 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.8414, allocations: 7.906 kB / 1.108 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.8416, allocations: 8 kB / 1.108 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.8416, allocations: 7.984 kB / 1.108 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.8417, allocations: 0 / 1.108 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.8417, allocations: 5.625 kB / 1.108 GB, free: 7.949 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001176/0.8419, allocations: 115.4 kB / 1.108 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.8419, allocations: 19.72 kB / 1.108 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.8423, allocations: 122.2 kB / 1.108 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.8423, allocations: 5.219 kB / 1.108 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8424, allocations: 0 / 1.108 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8424, allocations: 0 / 1.108 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.8426, allocations: 210 kB / 1.108 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.8427, allocations: 0 / 1.108 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.8427, allocations: 7.938 kB / 1.108 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.8428, allocations: 6.125 kB / 1.108 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.8428, allocations: 7.984 kB / 1.108 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.8428, allocations: 0 / 1.108 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.8428, allocations: 0 / 1.108 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003257/0.8431, allocations: 129.9 kB / 1.109 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.8433, allocations: 104.8 kB / 1.109 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/0.8433, allocations: 3.938 kB / 1.109 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.8435, allocations: 11.98 kB / 1.109 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.8435, allocations: 8 kB / 1.109 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.8435, allocations: 7.984 kB / 1.109 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002883/0.8438, allocations: 192.8 kB / 1.109 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004007/0.8443, allocations: 43.94 kB / 1.109 GB, free: 6.898 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: 6 ($whenCondition1,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * 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.0009478/0.8452, allocations: 333.2 kB / 1.109 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003267/0.8456, allocations: 84.55 kB / 1.109 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.8456, allocations: 0 / 1.109 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.8457, allocations: 39.98 kB / 1.109 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.8461, allocations: 34.22 kB / 1.109 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007703/0.8469, allocations: 214.5 kB / 1.11 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000702/0.8476, allocations: 0.7548 MB / 1.11 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of SimCode: time 1.042e-06/0.8477, allocations: 0 / 1.11 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of Templates: time 0.01376/0.8614, allocations: 2.358 MB / 1.113 GB, free: 3.254 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)