Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.222/1.222, allocations: 249.4 MB / 256.7 MB, free: 6.961 MB / 202.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: 184 kB / 316 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.115/1.115, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008301/0.00083, allocations: 86.34 kB / 0.671 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3615/0.3624, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.5392, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.203/4.743, allocations: 2.203 GB / 3.088 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/4.743, allocations: 94.88 kB / 3.088 GB, free: 158.6 MB / 0.8698 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.109/6.852, allocations: 0.7213 GB / 3.809 GB, free: 95.94 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/6.852, allocations: 8 kB / 3.809 GB, free: 95.93 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/6.856, allocations: 461.7 kB / 3.809 GB, free: 95.48 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/6.859, allocations: 1.433 MB / 3.811 GB, free: 94.03 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/6.86, allocations: 20 kB / 3.811 GB, free: 94.01 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/6.86, allocations: 52 kB / 3.811 GB, free: 93.96 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001182/6.861, allocations: 0.7366 MB / 3.812 GB, free: 93.22 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/6.862, allocations: 0.8027 MB / 3.812 GB, free: 92.38 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/6.862, allocations: 0 / 3.812 GB, free: 92.38 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.437e-05/6.862, allocations: 0 / 3.812 GB, free: 92.38 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/6.862, allocations: 16 kB / 3.812 GB, free: 92.37 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005043/6.867, allocations: 3.47 MB / 3.816 GB, free: 88.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000844/6.868, allocations: 0.7175 MB / 3.816 GB, free: 88.05 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/6.869, allocations: 396.2 kB / 3.817 GB, free: 87.67 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/6.869, allocations: 287.3 kB / 3.817 GB, free: 87.33 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/6.869, allocations: 39 kB / 3.817 GB, free: 87.29 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=52): time 1.863e-06/6.869, allocations: 0 / 3.817 GB, free: 87.29 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52): time 0.001602/6.871, allocations: 0.9035 MB / 3.818 GB, free: 86.38 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/6.871, allocations: 222 kB / 3.818 GB, free: 86.11 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/6.872, allocations: 1.26 MB / 3.819 GB, free: 84.84 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.803e-05/6.872, allocations: 29.7 kB / 3.82 GB, free: 84.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/6.872, allocations: 338.4 kB / 3.82 GB, free: 84.46 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/6.872, allocations: 173.3 kB / 3.82 GB, free: 84.29 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/6.872, allocations: 0.5469 kB / 3.82 GB, free: 84.29 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.169e-05/6.873, allocations: 334 kB / 3.82 GB, free: 83.96 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/6.873, allocations: 337 kB / 3.821 GB, free: 83.63 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/6.874, allocations: 0.6506 MB / 3.821 GB, free: 82.85 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/6.874, allocations: 424.7 kB / 3.822 GB, free: 82.44 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/6.874, allocations: 3.938 kB / 3.822 GB, free: 82.43 MB / 0.8855 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001339/6.875, allocations: 0.9545 MB / 3.823 GB, free: 81.47 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.453e-05/6.875, allocations: 97.92 kB / 3.823 GB, free: 81.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/6.876, allocations: 4 kB / 3.823 GB, free: 81.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/6.876, allocations: 4 kB / 3.823 GB, free: 81.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008461/6.876, allocations: 167.7 kB / 3.823 GB, free: 81.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/6.876, allocations: 4 kB / 3.823 GB, free: 81.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/6.878, allocations: 171.4 kB / 3.823 GB, free: 81.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-05/6.878, allocations: 43.95 kB / 3.823 GB, free: 80.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.59e-06/6.878, allocations: 4 kB / 3.823 GB, free: 80.98 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001117/6.879, allocations: 0.7748 MB / 3.824 GB, free: 80.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/6.879, allocations: 11.98 kB / 3.824 GB, free: 80.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.029e-06/6.879, allocations: 7.984 kB / 3.824 GB, free: 80.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/6.88, allocations: 163.7 kB / 3.824 GB, free: 80.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/6.88, allocations: 4 kB / 3.824 GB, free: 80.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/6.882, allocations: 163.4 kB / 3.824 GB, free: 79.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.702e-05/6.882, allocations: 39.95 kB / 3.824 GB, free: 79.82 MB / 0.8855 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.0001741/6.882, allocations: 112.9 kB / 3.824 GB, free: 79.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/6.882, allocations: 126.4 kB / 3.824 GB, free: 79.58 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/6.884, allocations: 0.9845 MB / 3.825 GB, free: 78.59 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/6.884, allocations: 4 kB / 3.825 GB, free: 78.58 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/6.884, allocations: 0 / 3.825 GB, free: 78.58 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/6.884, allocations: 3.984 kB / 3.825 GB, free: 78.58 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/6.887, allocations: 2.343 MB / 3.828 GB, free: 76.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/6.887, allocations: 4 kB / 3.828 GB, free: 76.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007185/6.888, allocations: 144.1 kB / 3.828 GB, free: 76.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/6.888, allocations: 4 kB / 3.828 GB, free: 76.02 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/6.888, allocations: 15.98 kB / 3.828 GB, free: 76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/6.888, allocations: 4 kB / 3.828 GB, free: 76 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/6.888, allocations: 7.938 kB / 3.828 GB, free: 75.99 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001555/6.889, allocations: 1.521 MB / 3.829 GB, free: 74.39 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002328/6.892, allocations: 2.487 MB / 3.832 GB, free: 71.83 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/6.892, allocations: 367.1 kB / 3.832 GB, free: 71.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/6.892, allocations: 11.98 kB / 3.832 GB, free: 71.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/6.894, allocations: 91.83 kB / 3.832 GB, free: 71.35 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/6.894, allocations: 56.27 kB / 3.832 GB, free: 71.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.967e-05/6.894, allocations: 24 kB / 3.832 GB, free: 71.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001186/6.895, allocations: 0.9698 MB / 3.833 GB, free: 70.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003978/6.899, allocations: 1.152 MB / 3.834 GB, free: 69.14 MB / 0.8855 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.002371/6.901, allocations: 2.142 MB / 3.836 GB, free: 67.14 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001865/6.903, allocations: 1.322 MB / 3.838 GB, free: 65.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/6.903, allocations: 4 kB / 3.838 GB, free: 65.79 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004551/6.904, allocations: 365.4 kB / 3.838 GB, free: 65.43 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/6.906, allocations: 0.4928 MB / 3.839 GB, free: 64.95 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/6.91, allocations: 1.742 MB / 3.84 GB, free: 63.16 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009678/6.911, allocations: 1.349 MB / 3.842 GB, free: 61.79 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/6.911, allocations: 0 / 3.842 GB, free: 61.79 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)