Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") [: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.487/1.487, allocations: 289.8 MB / 297.1 MB, free: 6.617 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.001004/0.001004, allocations: 183.5 kB / 366.3 MB, free: 1.934 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.285/1.285, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0009192/0.0009192, allocations: 87.8 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.229e-05/1.231e-05, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5974/0.5975, allocations: 116.3 MB / 0.9726 GB, free: 68.13 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.326/4.923, allocations: 2.085 GB / 3.057 GB, free: 348.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/4.924, allocations: 95.48 kB / 3.057 GB, free: 348.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.384/7.308, allocations: 0.7434 GB / 3.801 GB, free: 180.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001354/7.308, allocations: 37.47 kB / 3.801 GB, free: 180.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.003881/7.312, allocations: 1.605 MB / 3.802 GB, free: 180.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/7.312, allocations: 7.375 kB / 3.802 GB, free: 180.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/7.315, allocations: 461.8 kB / 3.803 GB, free: 180.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/7.318, allocations: 1.436 MB / 3.804 GB, free: 180.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/7.318, allocations: 23.09 kB / 3.804 GB, free: 180.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/7.318, allocations: 50.72 kB / 3.804 GB, free: 180.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001177/7.32, allocations: 0.7328 MB / 3.805 GB, free: 180 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/7.321, allocations: 0.8031 MB / 3.806 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/7.321, allocations: 3.875 kB / 3.806 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.162e-05/7.321, allocations: 0 / 3.806 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/7.321, allocations: 13.62 kB / 3.806 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004933/7.326, allocations: 3.481 MB / 3.809 GB, free: 179 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009185/7.327, allocations: 0.7151 MB / 3.81 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004771/7.327, allocations: 397.8 kB / 3.81 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003551/7.328, allocations: 288.6 kB / 3.811 GB, free: 178.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/7.328, allocations: 41.62 kB / 3.811 GB, free: 178.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 2.154e-06/7.328, allocations: 0 / 3.811 GB, free: 178.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.001716/7.329, allocations: 0.905 MB / 3.812 GB, free: 178.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/7.329, allocations: 215.3 kB / 3.812 GB, free: 178.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/7.331, allocations: 1.268 MB / 3.813 GB, free: 178.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.665e-05/7.331, allocations: 29.55 kB / 3.813 GB, free: 178 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/7.331, allocations: 342.7 kB / 3.813 GB, free: 177.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/7.331, allocations: 177.1 kB / 3.814 GB, free: 177.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/7.331, allocations: 0 / 3.814 GB, free: 177.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.863e-05/7.332, allocations: 323.3 kB / 3.814 GB, free: 177.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/7.332, allocations: 340.3 kB / 3.814 GB, free: 177.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00069/7.333, allocations: 0.6468 MB / 3.815 GB, free: 177.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006964/7.333, allocations: 430.9 kB / 3.815 GB, free: 177.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/7.333, allocations: 0 / 3.815 GB, free: 177.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001617/7.335, allocations: 0.9566 MB / 3.816 GB, free: 177 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.462e-05/7.335, allocations: 93.02 kB / 3.816 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/7.335, allocations: 7.938 kB / 3.816 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/7.335, allocations: 7.625 kB / 3.816 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009307/7.336, allocations: 167.3 kB / 3.816 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/7.336, allocations: 3.5 kB / 3.816 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/7.338, allocations: 173.3 kB / 3.817 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/7.338, allocations: 43.12 kB / 3.817 GB, free: 176.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.164e-06/7.338, allocations: 3.812 kB / 3.817 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001285/7.339, allocations: 0.7833 MB / 3.817 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/7.339, allocations: 6.141 kB / 3.817 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.129e-06/7.339, allocations: 7.406 kB / 3.817 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/7.34, allocations: 164.1 kB / 3.818 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/7.34, allocations: 10.25 kB / 3.818 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/7.342, allocations: 161.9 kB / 3.818 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.282e-05/7.342, allocations: 41.98 kB / 3.818 GB, free: 176.9 MB / 0.948 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0002062/7.342, allocations: 116.9 kB / 3.818 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/7.343, allocations: 128.6 kB / 3.818 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/7.344, allocations: 0.9744 MB / 3.819 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/7.344, allocations: 10.06 kB / 3.819 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/7.344, allocations: 3.375 kB / 3.819 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/7.345, allocations: 0 / 3.819 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/7.348, allocations: 2.335 MB / 3.821 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/7.348, allocations: 6.281 kB / 3.821 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007427/7.348, allocations: 145.9 kB / 3.821 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/7.348, allocations: 3.906 kB / 3.821 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.438e-05/7.348, allocations: 13.66 kB / 3.821 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/7.348, allocations: 10.25 kB / 3.821 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/7.348, allocations: 3.531 kB / 3.821 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00172/7.35, allocations: 1.528 MB / 3.823 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005399/7.351, allocations: 365.5 kB / 3.823 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/7.351, allocations: 7.562 kB / 3.823 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/7.352, allocations: 94.62 kB / 3.823 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/7.352, allocations: 52.16 kB / 3.823 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.773e-05/7.352, allocations: 26.98 kB / 3.823 GB, free: 175.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001204/7.354, allocations: 0.9696 MB / 3.824 GB, free: 175.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001908/7.356, allocations: 0.6915 MB / 3.825 GB, free: 175.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.002661/7.358, allocations: 2.138 MB / 3.827 GB, free: 174.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001773/7.36, allocations: 1.322 MB / 3.828 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/7.36, allocations: 3.375 kB / 3.828 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004443/7.361, allocations: 368.3 kB / 3.829 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/7.363, allocations: 494.6 kB / 3.829 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/7.366, allocations: 1.742 MB / 3.831 GB, free: 174.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/7.367, allocations: 1.34 MB / 3.832 GB, free: 173.6 MB / 0.948 GB Notification: Performance of SimCode: time 8.32e-07/7.367, allocations: 3.125 kB / 3.832 GB, free: 173.6 MB / 0.948 GB Notification: Performance of Templates: time 0.06035/7.428, allocations: 42.34 MB / 3.874 GB, free: 172.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)