Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.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.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") [: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.7067/0.7067, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001354/0.001354, allocations: 189.3 kB / 164.4 MB, free: 6.875 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.723/1.723, allocations: 205.1 MB / 399.1 MB, free: 6.07 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.001144/0.001144, allocations: 90.06 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.007e-05/1.009e-05, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1974, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.031/5.229, allocations: 2.157 GB / 2.778 GB, free: 52.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/5.229, allocations: 95.94 kB / 2.778 GB, free: 52.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.261/7.49, allocations: 0.5984 GB / 3.377 GB, free: 112 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001756/7.491, allocations: 30.33 kB / 3.377 GB, free: 112 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.004006/7.495, allocations: 1.285 MB / 3.378 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/7.495, allocations: 12.78 kB / 3.378 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/7.498, allocations: 411 kB / 3.378 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/7.501, allocations: 0.9199 MB / 3.379 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/7.501, allocations: 16.03 kB / 3.379 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/7.501, allocations: 35.41 kB / 3.379 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001054/7.502, allocations: 0.5295 MB / 3.38 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000995/7.503, allocations: 0.5747 MB / 3.38 GB, free: 111 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/7.503, allocations: 7.516 kB / 3.38 GB, free: 111 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-05/7.503, allocations: 3.906 kB / 3.38 GB, free: 111 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/7.503, allocations: 11.06 kB / 3.38 GB, free: 111 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004436/7.508, allocations: 2.42 MB / 3.383 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007212/7.509, allocations: 0.5161 MB / 3.383 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/7.509, allocations: 304.4 kB / 3.383 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004162/7.509, allocations: 293.9 kB / 3.384 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/7.509, allocations: 45.16 kB / 3.384 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 2.745e-06/7.509, allocations: 0 / 3.384 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.002512/7.512, allocations: 0.8085 MB / 3.385 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/7.512, allocations: 135.1 kB / 3.385 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/7.513, allocations: 0.7569 MB / 3.385 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.427e-05/7.513, allocations: 32.7 kB / 3.385 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/7.514, allocations: 257.6 kB / 3.386 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/7.514, allocations: 145 kB / 3.386 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/7.514, allocations: 0 / 3.386 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.546e-05/7.514, allocations: 324.3 kB / 3.386 GB, free: 109 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/7.514, allocations: 280.2 kB / 3.386 GB, free: 109 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005334/7.515, allocations: 459.8 kB / 3.387 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/7.515, allocations: 330.7 kB / 3.387 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/7.515, allocations: 0 / 3.387 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001357/7.517, allocations: 0.765 MB / 3.388 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/7.517, allocations: 95.84 kB / 3.388 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/7.517, allocations: 7.328 kB / 3.388 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/7.517, allocations: 0 / 3.388 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009673/7.518, allocations: 166.7 kB / 3.388 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/7.518, allocations: 3.969 kB / 3.388 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/7.519, allocations: 115.4 kB / 3.388 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/7.519, allocations: 34 kB / 3.388 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/7.519, allocations: 3.781 kB / 3.388 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009929/7.52, allocations: 0.5935 MB / 3.389 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/7.52, allocations: 0 / 3.389 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/7.52, allocations: 11.16 kB / 3.389 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006962/7.521, allocations: 137.5 kB / 3.389 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/7.521, allocations: 5.25 kB / 3.389 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/7.522, allocations: 84.44 kB / 3.389 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.211e-05/7.522, allocations: 37.11 kB / 3.389 GB, free: 108.6 MB / 0.6511 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 (53): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001933/7.523, allocations: 109.5 kB / 3.389 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/7.523, allocations: 92.78 kB / 3.389 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/7.524, allocations: 0.7731 MB / 3.39 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/7.524, allocations: 10.47 kB / 3.39 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/7.524, allocations: 3.875 kB / 3.39 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/7.524, allocations: 3.938 kB / 3.39 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/7.527, allocations: 1.774 MB / 3.392 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/7.527, allocations: 3.969 kB / 3.392 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008236/7.528, allocations: 145.2 kB / 3.392 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/7.528, allocations: 7.375 kB / 3.392 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.985e-05/7.528, allocations: 14.16 kB / 3.392 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/7.528, allocations: 6.125 kB / 3.392 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/7.528, allocations: 3.375 kB / 3.392 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001676/7.53, allocations: 1.295 MB / 3.393 GB, free: 107.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/7.53, allocations: 193.6 kB / 3.393 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/7.531, allocations: 3.938 kB / 3.393 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/7.532, allocations: 84.52 kB / 3.394 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/7.532, allocations: 34.64 kB / 3.394 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/7.532, allocations: 21.84 kB / 3.394 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0008247/7.533, allocations: 0.5908 MB / 3.394 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002087/7.535, allocations: 0.5171 MB / 3.395 GB, free: 107.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.003295/7.538, allocations: 1.904 MB / 3.397 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002021/7.54, allocations: 1.025 MB / 3.398 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/7.54, allocations: 0 / 3.398 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005429/7.541, allocations: 311.1 kB / 3.398 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/7.543, allocations: 382.2 kB / 3.398 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006821/7.55, allocations: 1.717 MB / 3.4 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/7.551, allocations: 1.169 MB / 3.401 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of SimCode: time 2.325e-06/7.551, allocations: 3.281 kB / 3.401 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of Templates: time 0.05247/7.604, allocations: 31.98 MB / 3.432 GB, free: 104.6 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)