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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) [: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.586/1.586, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001274/0.001274, allocations: 173.3 kB / 366.3 MB, free: 1.992 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.706/1.706, 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.00104/0.00104, allocations: 97.45 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2905/0.2916, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7183/1.01, allocations: 116.3 MB / 0.9727 GB, free: 68.51 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.535/6.545, allocations: 2.085 GB / 3.057 GB, free: 313.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/6.545, allocations: 89.47 kB / 3.058 GB, free: 313.8 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 2.848/9.393, allocations: 0.745 GB / 3.803 GB, free: 180.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/9.393, allocations: 9.781 kB / 3.803 GB, free: 180.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/9.397, allocations: 458.6 kB / 3.803 GB, free: 180.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/9.401, allocations: 1.423 MB / 3.804 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/9.401, allocations: 20.38 kB / 3.804 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/9.401, allocations: 57.5 kB / 3.805 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001219/9.402, allocations: 0.735 MB / 3.805 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/9.403, allocations: 0.804 MB / 3.806 GB, free: 179.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/9.403, allocations: 3.375 kB / 3.806 GB, free: 179.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/9.404, allocations: 0 / 3.806 GB, free: 179.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/9.404, allocations: 15.34 kB / 3.806 GB, free: 179.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006115/9.41, allocations: 3.481 MB / 3.809 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/9.411, allocations: 0.7095 MB / 3.81 GB, free: 178.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005525/9.411, allocations: 397.2 kB / 3.811 GB, free: 178.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004628/9.412, allocations: 294.6 kB / 3.811 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/9.412, allocations: 39.66 kB / 3.811 GB, free: 178.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 4.118e-06/9.412, allocations: 0 / 3.811 GB, free: 178.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.00216/9.414, allocations: 0.9065 MB / 3.812 GB, free: 178.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/9.414, allocations: 213.2 kB / 3.812 GB, free: 178 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/9.416, allocations: 1.265 MB / 3.813 GB, free: 177.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-05/9.416, allocations: 28.55 kB / 3.813 GB, free: 177.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/9.417, allocations: 348.1 kB / 3.814 GB, free: 177.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/9.417, allocations: 174.7 kB / 3.814 GB, free: 177.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/9.417, allocations: 0 / 3.814 GB, free: 177.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001687/9.417, allocations: 333.5 kB / 3.814 GB, free: 177.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/9.418, allocations: 343.7 kB / 3.814 GB, free: 177.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008262/9.418, allocations: 0.6433 MB / 3.815 GB, free: 177 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/9.419, allocations: 428.6 kB / 3.815 GB, free: 177 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/9.419, allocations: 3.703 kB / 3.815 GB, free: 177 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001724/9.421, allocations: 0.9506 MB / 3.816 GB, free: 176.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/9.421, allocations: 97.98 kB / 3.816 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/9.421, allocations: 3.562 kB / 3.816 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/9.421, allocations: 3.219 kB / 3.816 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009534/9.422, allocations: 167.6 kB / 3.817 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/9.422, allocations: 7.844 kB / 3.817 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/9.424, allocations: 160.9 kB / 3.817 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/9.424, allocations: 43.14 kB / 3.817 GB, free: 176.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/9.424, allocations: 7.469 kB / 3.817 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001341/9.425, allocations: 0.7836 MB / 3.818 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/9.425, allocations: 5.562 kB / 3.818 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/9.425, allocations: 3.938 kB / 3.818 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008681/9.426, allocations: 166.2 kB / 3.818 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/9.426, allocations: 0 / 3.818 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/9.428, allocations: 166.4 kB / 3.818 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/9.428, allocations: 38.69 kB / 3.818 GB, free: 176.7 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.0002417/9.429, allocations: 128.1 kB / 3.818 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/9.429, allocations: 121.8 kB / 3.818 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/9.431, allocations: 0.9676 MB / 3.819 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/9.431, allocations: 7.5 kB / 3.819 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/9.431, allocations: 3.562 kB / 3.819 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/9.431, allocations: 7.5 kB / 3.819 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004251/9.435, allocations: 2.338 MB / 3.821 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/9.435, allocations: 6.156 kB / 3.821 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008003/9.436, allocations: 146.6 kB / 3.822 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/9.436, allocations: 10.34 kB / 3.822 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-05/9.436, allocations: 13.61 kB / 3.822 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/9.436, allocations: 7.812 kB / 3.822 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/9.436, allocations: 3.781 kB / 3.822 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002114/9.438, allocations: 1.532 MB / 3.823 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003019/9.442, allocations: 2.483 MB / 3.825 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008222/9.442, allocations: 366 kB / 3.826 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003478/9.443, allocations: 3.938 kB / 3.826 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/9.444, allocations: 102.7 kB / 3.826 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/9.445, allocations: 45.61 kB / 3.826 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.728e-05/9.445, allocations: 29.5 kB / 3.826 GB, free: 174.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001879/9.447, allocations: 0.9664 MB / 3.827 GB, free: 174.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005475/9.452, allocations: 1.161 MB / 3.828 GB, free: 174.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.004222/9.456, allocations: 2.143 MB / 3.83 GB, free: 173.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002568/9.459, allocations: 1.323 MB / 3.831 GB, free: 173.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/9.459, allocations: 3.812 kB / 3.831 GB, free: 173.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005279/9.459, allocations: 368.8 kB / 3.832 GB, free: 173.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/9.462, allocations: 496.1 kB / 3.832 GB, free: 173.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004703/9.467, allocations: 1.749 MB / 3.834 GB, free: 173.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/9.469, allocations: 1.344 MB / 3.835 GB, free: 172.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/9.469, allocations: 0 / 3.835 GB, free: 172.6 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)