Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.119/2.119, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 177.3 kB / 487 MB, free: 5.359 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 221.3 MB / 0.7819 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 106.3 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6846/0.6857, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.9882, allocations: 142.3 MB / 1.205 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.87/5.858, allocations: 1.916 GB / 3.121 GB, free: 391.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/5.859, allocations: 95.88 kB / 3.121 GB, free: 391.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 2.18/8.039, allocations: 0.7515 GB / 3.873 GB, free: 61.34 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/8.039, allocations: 8 kB / 3.873 GB, free: 61.33 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003776/8.042, allocations: 453.8 kB / 3.873 GB, free: 60.88 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002955/8.045, allocations: 1.34 MB / 3.875 GB, free: 59.49 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/8.046, allocations: 23.94 kB / 3.875 GB, free: 59.47 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/8.046, allocations: 51.91 kB / 3.875 GB, free: 59.42 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001157/8.047, allocations: 0.7289 MB / 3.875 GB, free: 58.69 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/8.048, allocations: 0.6715 MB / 3.876 GB, free: 58.01 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/8.048, allocations: 4 kB / 3.876 GB, free: 58.01 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.539e-05/8.048, allocations: 0 / 3.876 GB, free: 58.01 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/8.048, allocations: 25.31 kB / 3.876 GB, free: 57.98 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006056/8.054, allocations: 3.489 MB / 3.879 GB, free: 54.36 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007446/8.055, allocations: 0.5912 MB / 3.88 GB, free: 53.76 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/8.055, allocations: 406.1 kB / 3.88 GB, free: 53.36 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003895/8.056, allocations: 292 kB / 3.881 GB, free: 53.02 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/8.056, allocations: 39.05 kB / 3.881 GB, free: 52.97 MB / 1.151 GB Notification: Performance of pre-optimization done (n=55): time 2.645e-06/8.056, allocations: 4 kB / 3.881 GB, free: 52.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=55): time 0.001855/8.058, allocations: 0.9088 MB / 3.882 GB, free: 52.05 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/8.058, allocations: 56.02 kB / 3.882 GB, free: 51.98 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/8.059, allocations: 1.242 MB / 3.883 GB, free: 50.73 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-05/8.059, allocations: 29.7 kB / 3.883 GB, free: 50.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/8.06, allocations: 320.1 kB / 3.883 GB, free: 50.38 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/8.06, allocations: 181.2 kB / 3.883 GB, free: 50.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/8.06, allocations: 0 / 3.883 GB, free: 50.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/8.06, allocations: 329.9 kB / 3.884 GB, free: 49.87 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/8.06, allocations: 320.9 kB / 3.884 GB, free: 49.56 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006435/8.061, allocations: 0.5897 MB / 3.885 GB, free: 48.86 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005736/8.062, allocations: 399.1 kB / 3.885 GB, free: 48.47 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/8.062, allocations: 0 / 3.885 GB, free: 48.47 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00148/8.063, allocations: 0.8856 MB / 3.886 GB, free: 47.58 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.545e-05/8.063, allocations: 92.28 kB / 3.886 GB, free: 47.48 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/8.063, allocations: 8 kB / 3.886 GB, free: 47.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/8.063, allocations: 3.906 kB / 3.886 GB, free: 47.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/8.064, allocations: 191.6 kB / 3.886 GB, free: 47.29 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/8.064, allocations: 4 kB / 3.886 GB, free: 47.28 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/8.066, allocations: 159.5 kB / 3.886 GB, free: 47.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/8.066, allocations: 35.95 kB / 3.886 GB, free: 47.09 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/8.067, allocations: 6.812 kB / 3.886 GB, free: 47.09 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/8.068, allocations: 0.7291 MB / 3.887 GB, free: 46.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/8.068, allocations: 0 / 3.887 GB, free: 46.36 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/8.068, allocations: 0 / 3.887 GB, free: 46.36 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009402/8.069, allocations: 183.7 kB / 3.887 GB, free: 46.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/8.069, allocations: 4 kB / 3.887 GB, free: 46.17 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/8.071, allocations: 167.4 kB / 3.887 GB, free: 46.01 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.023e-05/8.071, allocations: 35.95 kB / 3.887 GB, free: 45.97 MB / 1.151 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 (59): * Single equations (assignments): 59 * 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 prepare postOptimizeDAE: time 0.0001828/8.071, allocations: 116.9 kB / 3.887 GB, free: 45.85 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/8.071, allocations: 118.5 kB / 3.888 GB, free: 45.73 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/8.073, allocations: 0.988 MB / 3.889 GB, free: 44.73 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/8.073, allocations: 8 kB / 3.889 GB, free: 44.72 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/8.073, allocations: 0 / 3.889 GB, free: 44.72 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/8.073, allocations: 7.984 kB / 3.889 GB, free: 44.71 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/8.077, allocations: 2.339 MB / 3.891 GB, free: 42.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/8.077, allocations: 8.062 kB / 3.891 GB, free: 42.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008178/8.077, allocations: 143.8 kB / 3.891 GB, free: 42.16 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/8.077, allocations: 4 kB / 3.891 GB, free: 42.15 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/8.077, allocations: 15.98 kB / 3.891 GB, free: 42.14 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/8.077, allocations: 7.938 kB / 3.891 GB, free: 42.13 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/8.077, allocations: 4 kB / 3.891 GB, free: 42.12 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001931/8.079, allocations: 1.538 MB / 3.893 GB, free: 40.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002892/8.082, allocations: 2.496 MB / 3.895 GB, free: 37.91 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007571/8.083, allocations: 375.2 kB / 3.895 GB, free: 37.53 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/8.083, allocations: 4 kB / 3.895 GB, free: 37.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/8.085, allocations: 103.7 kB / 3.895 GB, free: 37.42 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/8.085, allocations: 48.44 kB / 3.895 GB, free: 37.38 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.704e-05/8.085, allocations: 27.98 kB / 3.895 GB, free: 37.35 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001378/8.086, allocations: 0.9487 MB / 3.896 GB, free: 36.39 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004038/8.091, allocations: 1.097 MB / 3.897 GB, free: 35.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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.002423/8.093, allocations: 2.09 MB / 3.9 GB, free: 33.13 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001799/8.095, allocations: 1.151 MB / 3.901 GB, free: 31.98 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/8.095, allocations: 0 / 3.901 GB, free: 31.98 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004865/8.095, allocations: 385.6 kB / 3.901 GB, free: 31.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/8.098, allocations: 468 kB / 3.901 GB, free: 31.15 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/8.102, allocations: 1.714 MB / 3.903 GB, free: 29.38 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/8.103, allocations: 1.327 MB / 3.904 GB, free: 28.02 MB / 1.151 GB Notification: Performance of SimCode: time 1.122e-06/8.103, allocations: 0 / 3.904 GB, free: 28.02 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)