Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.47/2.47, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001665/0.001665, allocations: 181.2 kB / 360.3 MB, free: 7.508 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.968/1.968, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001273/0.001272, allocations: 84.2 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2919/0.2932, allocations: 121.4 MB / 0.8502 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6794/0.9727, allocations: 115.2 MB / 0.9627 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.178/6.151, allocations: 2.084 GB / 3.046 GB, free: 34.49 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000341/6.151, allocations: 89.84 kB / 3.047 GB, free: 34.44 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 3.704/9.855, allocations: 0.7451 GB / 3.792 GB, free: 24.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/9.856, allocations: 8 kB / 3.792 GB, free: 24.69 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/9.866, allocations: 457.7 kB / 3.792 GB, free: 24.24 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009741/9.876, allocations: 1.426 MB / 3.793 GB, free: 22.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.82e-05/9.876, allocations: 27.91 kB / 3.793 GB, free: 22.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005514/9.877, allocations: 48 kB / 3.793 GB, free: 22.69 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003746/9.881, allocations: 0.7367 MB / 3.794 GB, free: 21.95 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003719/9.884, allocations: 0.8025 MB / 3.795 GB, free: 21.11 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.716e-05/9.884, allocations: 4 kB / 3.795 GB, free: 21.11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/9.885, allocations: 0 / 3.795 GB, free: 21.11 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/9.885, allocations: 16 kB / 3.795 GB, free: 21.09 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01733/9.902, allocations: 3.477 MB / 3.798 GB, free: 17.48 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/9.905, allocations: 0.7076 MB / 3.799 GB, free: 16.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/9.907, allocations: 397.9 kB / 3.799 GB, free: 16.35 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008865/9.907, allocations: 295.7 kB / 3.8 GB, free: 16.01 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/9.908, allocations: 39 kB / 3.8 GB, free: 15.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 5.36e-06/9.908, allocations: 0 / 3.8 GB, free: 15.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.005837/9.913, allocations: 0.8997 MB / 3.801 GB, free: 15.05 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/9.914, allocations: 218.1 kB / 3.801 GB, free: 14.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005433/9.919, allocations: 1.265 MB / 3.802 GB, free: 13.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004706/9.92, allocations: 29.7 kB / 3.802 GB, free: 13.49 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005546/9.92, allocations: 340 kB / 3.802 GB, free: 13.14 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004653/9.921, allocations: 173.3 kB / 3.803 GB, free: 12.97 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/9.921, allocations: 0 / 3.803 GB, free: 12.97 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001143/9.921, allocations: 333.9 kB / 3.803 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/9.922, allocations: 341 kB / 3.803 GB, free: 12.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/9.924, allocations: 0.6501 MB / 3.804 GB, free: 11.53 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/9.926, allocations: 424.7 kB / 3.804 GB, free: 11.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/9.926, allocations: 4 kB / 3.804 GB, free: 11.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.005084/9.931, allocations: 0.9546 MB / 3.805 GB, free: 10.15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.546e-05/9.932, allocations: 98.7 kB / 3.805 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.147e-05/9.932, allocations: 7.984 kB / 3.805 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.665e-05/9.932, allocations: 3.906 kB / 3.805 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/9.934, allocations: 171.7 kB / 3.806 GB, free: 9.867 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/9.934, allocations: 0 / 3.806 GB, free: 9.867 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005364/9.94, allocations: 163.4 kB / 3.806 GB, free: 9.707 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004646/9.94, allocations: 43.95 kB / 3.806 GB, free: 9.664 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/9.94, allocations: 0 / 3.806 GB, free: 9.664 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003925/9.944, allocations: 0.7943 MB / 3.807 GB, free: 8.875 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.874e-05/9.944, allocations: 0 / 3.807 GB, free: 8.875 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/9.944, allocations: 7.984 kB / 3.807 GB, free: 8.867 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/9.947, allocations: 167.7 kB / 3.807 GB, free: 8.703 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/9.947, allocations: 4 kB / 3.807 GB, free: 8.699 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005136/9.952, allocations: 167.3 kB / 3.807 GB, free: 8.535 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004736/9.953, allocations: 39.95 kB / 3.807 GB, free: 8.496 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.0005864/9.953, allocations: 120.8 kB / 3.807 GB, free: 8.371 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/9.954, allocations: 122.4 kB / 3.807 GB, free: 8.25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005439/9.96, allocations: 0.9729 MB / 3.808 GB, free: 7.262 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/9.96, allocations: 7.938 kB / 3.808 GB, free: 7.254 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/9.96, allocations: 0 / 3.808 GB, free: 7.254 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/9.96, allocations: 7.984 kB / 3.808 GB, free: 7.246 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/9.971, allocations: 2.345 MB / 3.81 GB, free: 4.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/9.971, allocations: 4 kB / 3.81 GB, free: 4.816 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/9.974, allocations: 139.8 kB / 3.81 GB, free: 4.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.377e-05/9.974, allocations: 8.125 kB / 3.811 GB, free: 4.672 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/9.974, allocations: 15.91 kB / 3.811 GB, free: 4.656 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.63e-05/9.974, allocations: 11.92 kB / 3.811 GB, free: 4.645 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/9.974, allocations: 4 kB / 3.811 GB, free: 4.641 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005715/9.98, allocations: 1.529 MB / 3.812 GB, free: 3.035 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007555/9.987, allocations: 2.487 MB / 3.814 GB, free: 468 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/9.989, allocations: 363.2 kB / 3.815 GB, free: 84 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008919/9.99, allocations: 8 kB / 3.815 GB, free: 76 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.4714/10.46, allocations: 96 kB / 3.815 GB, free: 259.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003806/10.46, allocations: 51.91 kB / 3.815 GB, free: 259.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/10.46, allocations: 26.38 kB / 3.815 GB, free: 259.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002832/10.47, allocations: 0.9697 MB / 3.816 GB, free: 259 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00746/10.47, allocations: 1.156 MB / 3.817 GB, free: 259 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.00415/10.48, allocations: 2.141 MB / 3.819 GB, free: 258.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003891/10.48, allocations: 1.327 MB / 3.82 GB, free: 258.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/10.48, allocations: 3.594 kB / 3.82 GB, free: 258.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000955/10.48, allocations: 362.2 kB / 3.821 GB, free: 258.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006579/10.49, allocations: 489.2 kB / 3.821 GB, free: 258.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/10.5, allocations: 1.758 MB / 3.823 GB, free: 257.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003176/10.5, allocations: 1.336 MB / 3.824 GB, free: 257.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.605e-06/10.5, allocations: 2.875 kB / 3.824 GB, free: 257.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)