Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",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.346/1.346, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009926/0.0009926, allocations: 183.3 kB / 361.1 MB, free: 7.113 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.109/1.109, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008183/0.0008183, allocations: 87.92 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.234/0.2348, allocations: 121.4 MB / 0.8511 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5769/0.8117, allocations: 115.3 MB / 0.9638 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.824/4.636, allocations: 2.083 GB / 3.047 GB, free: 327.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/4.636, allocations: 96.53 kB / 3.047 GB, free: 327.5 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 1.486/6.122, allocations: 0.6062 GB / 3.653 GB, free: 82.24 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/6.122, allocations: 12.5 kB / 3.653 GB, free: 82.23 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003266/6.125, allocations: 394.2 kB / 3.653 GB, free: 81.84 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002691/6.128, allocations: 1.098 MB / 3.654 GB, free: 80.69 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/6.128, allocations: 16 kB / 3.654 GB, free: 80.68 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/6.128, allocations: 47.91 kB / 3.654 GB, free: 80.63 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008992/6.129, allocations: 0.5291 MB / 3.655 GB, free: 80.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008388/6.13, allocations: 0.5845 MB / 3.655 GB, free: 79.49 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/6.13, allocations: 0 / 3.655 GB, free: 79.49 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/6.13, allocations: 0 / 3.655 GB, free: 79.49 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/6.13, allocations: 12 kB / 3.655 GB, free: 79.48 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004215/6.134, allocations: 2.655 MB / 3.658 GB, free: 76.71 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/6.134, allocations: 0.4947 MB / 3.659 GB, free: 76.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/6.135, allocations: 305.3 kB / 3.659 GB, free: 75.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/6.135, allocations: 291.3 kB / 3.659 GB, free: 75.56 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/6.135, allocations: 39.28 kB / 3.659 GB, free: 75.52 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/6.135, allocations: 0 / 3.659 GB, free: 75.52 MB / 0.9323 GB Notification: Performance of matching and sorting (n=43): time 0.001439/6.137, allocations: 0.6992 MB / 3.66 GB, free: 74.81 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/6.137, allocations: 140.5 kB / 3.66 GB, free: 74.64 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/6.138, allocations: 0.9696 MB / 3.661 GB, free: 73.65 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/6.138, allocations: 29.7 kB / 3.661 GB, free: 73.62 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/6.138, allocations: 274 kB / 3.661 GB, free: 73.34 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/6.138, allocations: 141.9 kB / 3.661 GB, free: 73.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/6.138, allocations: 0 / 3.661 GB, free: 73.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.14e-05/6.138, allocations: 329.9 kB / 3.662 GB, free: 72.87 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/6.139, allocations: 236.8 kB / 3.662 GB, free: 72.64 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/6.139, allocations: 490.6 kB / 3.662 GB, free: 72.07 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/6.14, allocations: 299 kB / 3.663 GB, free: 71.78 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/6.14, allocations: 0 / 3.663 GB, free: 71.78 MB / 0.9323 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00106/6.141, allocations: 0.6932 MB / 3.663 GB, free: 71.07 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/6.141, allocations: 102.8 kB / 3.663 GB, free: 70.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/6.141, allocations: 112 / 3.663 GB, free: 70.97 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/6.141, allocations: 7.938 kB / 3.663 GB, free: 70.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/6.142, allocations: 131.8 kB / 3.664 GB, free: 70.83 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/6.142, allocations: 0 / 3.664 GB, free: 70.83 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/6.143, allocations: 131.6 kB / 3.664 GB, free: 70.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.328e-05/6.143, allocations: 31.97 kB / 3.664 GB, free: 70.67 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/6.143, allocations: 4 kB / 3.664 GB, free: 70.67 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008312/6.144, allocations: 0.5599 MB / 3.664 GB, free: 70.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/6.144, allocations: 0 / 3.664 GB, free: 70.11 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/6.144, allocations: 4 kB / 3.664 GB, free: 70.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006124/6.145, allocations: 123.8 kB / 3.664 GB, free: 69.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/6.145, allocations: 4 kB / 3.664 GB, free: 69.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/6.146, allocations: 123.6 kB / 3.664 GB, free: 69.86 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/6.146, allocations: 35.97 kB / 3.665 GB, free: 69.82 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001377/6.146, allocations: 125 kB / 3.665 GB, free: 69.69 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/6.146, allocations: 98.78 kB / 3.665 GB, free: 69.59 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/6.147, allocations: 0.7351 MB / 3.665 GB, free: 68.86 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/6.147, allocations: 4 kB / 3.665 GB, free: 68.86 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/6.147, allocations: 0 / 3.665 GB, free: 68.86 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/6.147, allocations: 3.984 kB / 3.665 GB, free: 68.85 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/6.15, allocations: 1.818 MB / 3.667 GB, free: 66.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/6.15, allocations: 0 / 3.667 GB, free: 66.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005954/6.15, allocations: 124.1 kB / 3.667 GB, free: 66.84 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/6.15, allocations: 11.91 kB / 3.667 GB, free: 66.82 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/6.15, allocations: 11.92 kB / 3.667 GB, free: 66.81 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/6.15, allocations: 7.938 kB / 3.667 GB, free: 66.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/6.15, allocations: 15.94 kB / 3.667 GB, free: 66.79 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001293/6.152, allocations: 1.224 MB / 3.669 GB, free: 65.47 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001966/6.154, allocations: 2.059 MB / 3.671 GB, free: 63.31 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/6.154, allocations: 295.6 kB / 3.671 GB, free: 63 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/6.154, allocations: 7.984 kB / 3.671 GB, free: 63 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/6.156, allocations: 83.91 kB / 3.671 GB, free: 62.91 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/6.156, allocations: 43.8 kB / 3.671 GB, free: 62.87 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/6.156, allocations: 23.98 kB / 3.671 GB, free: 62.85 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0008736/6.157, allocations: 0.7474 MB / 3.672 GB, free: 62.09 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003609/6.16, allocations: 0.9639 MB / 3.673 GB, free: 61.12 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.00194/6.162, allocations: 1.875 MB / 3.675 GB, free: 59.18 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001201/6.163, allocations: 0.9413 MB / 3.675 GB, free: 58.23 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/6.163, allocations: 4 kB / 3.675 GB, free: 58.23 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003345/6.164, allocations: 283.7 kB / 3.676 GB, free: 57.95 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/6.166, allocations: 399.9 kB / 3.676 GB, free: 57.57 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/6.168, allocations: 1.328 MB / 3.677 GB, free: 56.18 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/6.169, allocations: 1.193 MB / 3.679 GB, free: 54.95 MB / 0.9323 GB Notification: Performance of SimCode: time 5.71e-07/6.169, allocations: 0 / 3.679 GB, free: 54.95 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)