Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7942/0.7942, allocations: 127.3 MB / 134.6 MB, free: 4.121 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009901/0.0009902, allocations: 189.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.1 MB / 399.1 MB, free: 6.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 97.38 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.407e-06/9.628e-06, allocations: 0 / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2009, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5403/0.7412, allocations: 105.8 MB / 0.7242 GB, free: 6.633 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003856/0.7417, allocations: 79.95 kB / 0.7243 GB, free: 6.555 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01615/0.7578, allocations: 5.02 MB / 0.7292 GB, free: 1.543 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.665e-05/0.7579, allocations: 4 kB / 0.7292 GB, free: 1.539 MB / 490.7 MB 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.0007782/0.7587, allocations: 463.6 kB / 0.7296 GB, free: 1.035 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.7588, allocations: 8.031 kB / 0.7296 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.254e-05/0.7589, allocations: 15.81 kB / 0.7297 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.7594, allocations: 259.6 kB / 0.7299 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.7594, allocations: 4 kB / 0.7299 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.7595, allocations: 0 / 0.7299 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001227/0.7596, allocations: 35.98 kB / 0.7299 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.7598, allocations: 92.08 kB / 0.73 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.7598, allocations: 4 kB / 0.73 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.7598, allocations: 0 / 0.73 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.7598, allocations: 0.75 kB / 0.73 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.7604, allocations: 357.2 kB / 0.7304 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.7606, allocations: 70.69 kB / 0.7304 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.833e-05/0.7606, allocations: 32.94 kB / 0.7305 GB, free: 68 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.7607, allocations: 8 kB / 0.7305 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.7608, allocations: 71.42 kB / 0.7305 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.7608, allocations: 0 / 0.7305 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0003032/0.7611, allocations: 101.5 kB / 0.7306 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.7612, allocations: 110.7 kB / 0.7308 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.7615, allocations: 229.9 kB / 0.731 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.7616, allocations: 29.7 kB / 0.731 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.7617, allocations: 100.1 kB / 0.7311 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.7617, allocations: 23.66 kB / 0.7311 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-06/0.7617, allocations: 4 kB / 0.7311 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.7619, allocations: 330.8 kB / 0.7314 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.785e-05/0.762, allocations: 31.92 kB / 0.7315 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.704e-05/0.7621, allocations: 64.28 kB / 0.7315 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.7622, allocations: 27.98 kB / 0.7316 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.7622, allocations: 0 / 0.7316 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002196/0.7625, allocations: 121.5 kB / 0.7317 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.7625, allocations: 4 kB / 0.7317 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7625, allocations: 4 kB / 0.7317 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.7625, allocations: 4 kB / 0.7317 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.7627, allocations: 8 kB / 0.7317 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.537e-06/0.7627, allocations: 4 kB / 0.7317 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.368e-05/0.7628, allocations: 7.891 kB / 0.7317 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.7628, allocations: 4 kB / 0.7317 GB, free: 14.71 MB / 0.4948 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.0001402/0.7629, allocations: 117 kB / 0.7318 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.763, allocations: 15.81 kB / 0.7318 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.7632, allocations: 123.1 kB / 0.7319 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.7633, allocations: 3.906 kB / 0.732 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7633, allocations: 48 / 0.732 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.7633, allocations: 3.984 kB / 0.732 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.7635, allocations: 210.1 kB / 0.7322 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7635, allocations: 0 / 0.7322 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.7636, allocations: 4 kB / 0.7322 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7636, allocations: 7.938 kB / 0.7322 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.7636, allocations: 7.906 kB / 0.7322 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.7636, allocations: 3.938 kB / 0.7322 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7636, allocations: 3.984 kB / 0.7322 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002052/0.7638, allocations: 133 kB / 0.7323 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.866e-05/0.7639, allocations: 100.9 kB / 0.7324 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.7639, allocations: 0 / 0.7324 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.764, allocations: 8 kB / 0.7324 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.7641, allocations: 11.89 kB / 0.7324 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.7641, allocations: 4 kB / 0.7324 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.000186/0.7643, allocations: 192.4 kB / 0.7326 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003095/0.7646, allocations: 47.94 kB / 0.7327 GB, free: 13.65 MB / 0.4948 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.0008839/0.7655, allocations: 326.4 kB / 0.733 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002551/0.7658, allocations: 87.89 kB / 0.7331 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7658, allocations: 0 / 0.7331 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/0.7659, allocations: 35.98 kB / 0.7331 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.7662, allocations: 27.98 kB / 0.7331 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.7667, allocations: 219.8 kB / 0.7333 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.7672, allocations: 0.7548 MB / 0.7341 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of SimCode: time 2.5e-07/0.7672, allocations: 0 / 0.7341 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.006038/0.7733, allocations: 2.366 MB / 0.7364 GB, free: 9.875 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)