Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.424/1.424, allocations: 285.5 MB / 292.8 MB, free: 9.852 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.0009883/0.0009883, allocations: 189.2 kB / 361.1 MB, free: 344 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.122/1.122, allocations: 205.1 MB / 0.6195 GB, free: 2.84 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008463/0.0008464, allocations: 84.53 kB / 0.7326 GB, free: 1 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4452/0.4461, allocations: 121.4 MB / 0.8512 GB, free: 152 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.6455, allocations: 115.3 MB / 0.9638 GB, free: 56.23 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.822/4.467, allocations: 2.084 GB / 3.048 GB, free: 196.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/4.468, allocations: 91.94 kB / 3.048 GB, free: 196.8 MB / 0.9323 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.202/6.67, allocations: 0.745 GB / 3.793 GB, free: 142 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/6.67, allocations: 8.5 kB / 3.793 GB, free: 142 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/6.673, allocations: 465.7 kB / 3.793 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/6.677, allocations: 1.434 MB / 3.795 GB, free: 140.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/6.677, allocations: 20 kB / 3.795 GB, free: 140.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/6.677, allocations: 48 kB / 3.795 GB, free: 140.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001092/6.678, allocations: 0.7328 MB / 3.795 GB, free: 139.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/6.679, allocations: 0.8026 MB / 3.796 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/6.679, allocations: 0 / 3.796 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/6.679, allocations: 0 / 3.796 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/6.679, allocations: 16 kB / 3.796 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005004/6.684, allocations: 3.487 MB / 3.8 GB, free: 134.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008363/6.685, allocations: 0.707 MB / 3.8 GB, free: 134.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/6.685, allocations: 394 kB / 3.801 GB, free: 133.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/6.686, allocations: 300.4 kB / 3.801 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/6.686, allocations: 39 kB / 3.801 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=52): time 1.843e-06/6.686, allocations: 0 / 3.801 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=52): time 0.001616/6.687, allocations: 0.904 MB / 3.802 GB, free: 132.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/6.688, allocations: 218.1 kB / 3.802 GB, free: 132.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/6.689, allocations: 1.26 MB / 3.803 GB, free: 130.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.524e-05/6.689, allocations: 29.7 kB / 3.803 GB, free: 130.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/6.689, allocations: 340 kB / 3.804 GB, free: 130.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/6.689, allocations: 177.2 kB / 3.804 GB, free: 130.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/6.689, allocations: 0 / 3.804 GB, free: 130.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.962e-05/6.69, allocations: 326 kB / 3.804 GB, free: 130 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/6.69, allocations: 341 kB / 3.804 GB, free: 129.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/6.691, allocations: 0.6635 MB / 3.805 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/6.691, allocations: 424.7 kB / 3.806 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/6.691, allocations: 0 / 3.806 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001475/6.693, allocations: 0.9584 MB / 3.806 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/6.693, allocations: 105.2 kB / 3.807 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/6.693, allocations: 3.938 kB / 3.807 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/6.693, allocations: 4 kB / 3.807 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008862/6.694, allocations: 167.8 kB / 3.807 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/6.694, allocations: 4 kB / 3.807 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/6.695, allocations: 163.4 kB / 3.807 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.976e-05/6.696, allocations: 39.95 kB / 3.807 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/6.696, allocations: 4 kB / 3.807 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00114/6.697, allocations: 0.7826 MB / 3.808 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/6.697, allocations: 11.94 kB / 3.808 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/6.697, allocations: 4 kB / 3.808 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007835/6.698, allocations: 159.8 kB / 3.808 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/6.698, allocations: 4 kB / 3.808 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/6.699, allocations: 171.4 kB / 3.808 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-05/6.699, allocations: 39.95 kB / 3.808 GB, free: 125.9 MB / 0.9323 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.0001798/6.699, allocations: 120.6 kB / 3.808 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/6.7, allocations: 126.4 kB / 3.808 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/6.701, allocations: 0.9729 MB / 3.809 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/6.701, allocations: 8 kB / 3.809 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/6.701, allocations: 0 / 3.809 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/6.701, allocations: 4 kB / 3.809 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/6.704, allocations: 2.349 MB / 3.812 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/6.704, allocations: 0 / 3.812 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007175/6.705, allocations: 140.1 kB / 3.812 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/6.705, allocations: 4 kB / 3.812 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/6.705, allocations: 15.98 kB / 3.812 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/6.705, allocations: 7.938 kB / 3.812 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/6.705, allocations: 4 kB / 3.812 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00153/6.707, allocations: 1.525 MB / 3.813 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002244/6.709, allocations: 2.483 MB / 3.816 GB, free: 117.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/6.709, allocations: 375.1 kB / 3.816 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/6.71, allocations: 8 kB / 3.816 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/6.711, allocations: 91.88 kB / 3.816 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/6.711, allocations: 48.28 kB / 3.816 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.564e-05/6.711, allocations: 31.98 kB / 3.816 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001074/6.712, allocations: 0.9659 MB / 3.817 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003619/6.716, allocations: 1.155 MB / 3.818 GB, free: 115.2 MB / 0.9323 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.002425/6.718, allocations: 2.144 MB / 3.82 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001937/6.72, allocations: 1.326 MB / 3.822 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/6.72, allocations: 0 / 3.822 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004195/6.721, allocations: 369.4 kB / 3.822 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/6.723, allocations: 0.4912 MB / 3.822 GB, free: 111 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/6.726, allocations: 1.745 MB / 3.824 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000953/6.727, allocations: 1.345 MB / 3.825 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.203e-06/6.727, allocations: 0 / 3.825 GB, free: 107.8 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)