Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.506/1.506, allocations: 289.8 MB / 297.1 MB, free: 6.594 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001354/0.001354, allocations: 177.3 kB / 366.3 MB, free: 1.977 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.199/1.199, allocations: 205.1 MB / 0.6256 GB, free: 5.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008298/0.0008298, allocations: 97.83 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.524e-06, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4503, allocations: 116.3 MB / 0.9726 GB, free: 68.75 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.6043, allocations: 142.2 MB / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.6045, allocations: 80.48 kB / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01487/0.6194, allocations: 5.012 MB / 1.116 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.6195, allocations: 4 kB / 1.116 GB, free: 1.273 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.0004915/0.62, allocations: 465.2 kB / 1.117 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.62, allocations: 8.031 kB / 1.117 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.6201, allocations: 15.81 kB / 1.117 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.6204, allocations: 255.6 kB / 1.117 GB, free: 464 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.6205, allocations: 3.938 kB / 1.117 GB, free: 460 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.6205, allocations: 4 kB / 1.117 GB, free: 456 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.257e-05/0.6206, allocations: 35.98 kB / 1.117 GB, free: 420 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.6207, allocations: 88.8 kB / 1.117 GB, free: 316 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.6207, allocations: 0.6562 kB / 1.117 GB, free: 316 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.6208, allocations: 0 / 1.117 GB, free: 316 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.6208, allocations: 7.938 kB / 1.117 GB, free: 308 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.6213, allocations: 341.3 kB / 1.118 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.6214, allocations: 82.67 kB / 1.118 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.6215, allocations: 32.91 kB / 1.118 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.6215, allocations: 0 / 1.118 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.6216, allocations: 84.11 kB / 1.118 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.6216, allocations: 3.938 kB / 1.118 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0002425/0.6219, allocations: 97.48 kB / 1.118 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.6219, allocations: 110.8 kB / 1.118 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.6222, allocations: 229.9 kB / 1.118 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.6222, allocations: 25.7 kB / 1.118 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.6223, allocations: 104 kB / 1.118 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.6223, allocations: 19.8 kB / 1.118 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.6223, allocations: 2.156 kB / 1.118 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6224, allocations: 326.8 kB / 1.119 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.364e-05/0.6225, allocations: 23.98 kB / 1.119 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.368e-05/0.6226, allocations: 80.22 kB / 1.119 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.794e-05/0.6227, allocations: 27.98 kB / 1.119 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6227, allocations: 0 / 1.119 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001913/0.6229, allocations: 109.5 kB / 1.119 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.6229, allocations: 7.938 kB / 1.119 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6229, allocations: 3.984 kB / 1.119 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.6229, allocations: 11.94 kB / 1.119 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.253e-05/0.623, allocations: 8 kB / 1.119 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.623, allocations: 0 / 1.119 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.6231, allocations: 7.984 kB / 1.119 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.6231, allocations: 4 kB / 1.119 GB, free: 14.45 MB / 0.7292 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 7.316e-05/0.6232, allocations: 110.4 kB / 1.119 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.6232, allocations: 19.72 kB / 1.119 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.6235, allocations: 126.8 kB / 1.119 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.6235, allocations: 4 kB / 1.119 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6235, allocations: 0 / 1.119 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.6235, allocations: 4 kB / 1.119 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.6237, allocations: 210 kB / 1.119 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6237, allocations: 4.047 kB / 1.119 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.803e-05/0.6238, allocations: 7.984 kB / 1.119 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.6238, allocations: 0 / 1.119 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.6238, allocations: 4 kB / 1.119 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6238, allocations: 0 / 1.119 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6238, allocations: 0 / 1.119 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001998/0.624, allocations: 138 kB / 1.119 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.075e-05/0.6241, allocations: 104.8 kB / 1.12 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.6241, allocations: 4 kB / 1.12 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.6242, allocations: 4 kB / 1.12 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.6242, allocations: 7.984 kB / 1.12 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.6243, allocations: 0 / 1.12 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001643/0.6244, allocations: 195 kB / 1.12 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002521/0.6247, allocations: 47.92 kB / 1.12 GB, free: 13.4 MB / 0.7292 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.0006255/0.6253, allocations: 331.8 kB / 1.12 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.6255, allocations: 83.89 kB / 1.12 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6255, allocations: 0 / 1.12 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.636e-05/0.6256, allocations: 35.98 kB / 1.12 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.6259, allocations: 39.89 kB / 1.12 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.6263, allocations: 211.9 kB / 1.12 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.6266, allocations: 0.7469 MB / 1.121 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.6267, allocations: 0 / 1.121 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of Templates: time 0.005035/0.6317, allocations: 2.348 MB / 1.124 GB, free: 9.684 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)