Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.232/1.232, allocations: 249.4 MB / 256.7 MB, free: 7.043 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.0009809/0.0009808, allocations: 177.3 kB / 316 MB, free: 3.555 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.175/1.175, 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.0008627/0.0008626, allocations: 82.7 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3796/0.3805, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.5673, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.16/4.728, allocations: 2.202 GB / 3.086 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/4.728, allocations: 99.81 kB / 3.087 GB, free: 200.7 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 1.765/6.493, allocations: 0.5869 GB / 3.673 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/6.493, allocations: 7.875 kB / 3.673 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/6.496, allocations: 396.2 kB / 3.674 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/6.498, allocations: 1.11 MB / 3.675 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/6.498, allocations: 15.22 kB / 3.675 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.14e-05/6.498, allocations: 40.03 kB / 3.675 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007726/6.499, allocations: 0.5255 MB / 3.676 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007709/6.5, allocations: 0.5916 MB / 3.676 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/6.5, allocations: 0 / 3.676 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/6.5, allocations: 3.781 kB / 3.676 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/6.5, allocations: 11.19 kB / 3.676 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003533/6.503, allocations: 2.651 MB / 3.679 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/6.504, allocations: 495 kB / 3.679 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/6.504, allocations: 305.7 kB / 3.679 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003225/6.504, allocations: 297.5 kB / 3.68 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/6.504, allocations: 37.47 kB / 3.68 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/6.504, allocations: 0 / 3.68 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.001334/6.506, allocations: 0.6913 MB / 3.68 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/6.506, allocations: 136 kB / 3.681 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/6.507, allocations: 0.9682 MB / 3.682 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-05/6.507, allocations: 29.48 kB / 3.682 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/6.507, allocations: 276.4 kB / 3.682 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.724e-05/6.507, allocations: 142.5 kB / 3.682 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/6.507, allocations: 0 / 3.682 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.752e-05/6.507, allocations: 323.8 kB / 3.682 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/6.508, allocations: 244.4 kB / 3.682 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/6.508, allocations: 488.5 kB / 3.683 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/6.509, allocations: 296.9 kB / 3.683 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/6.509, allocations: 3.719 kB / 3.683 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009979/6.51, allocations: 0.6984 MB / 3.684 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/6.51, allocations: 94.5 kB / 3.684 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/6.51, allocations: 0 / 3.684 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/6.51, allocations: 7.344 kB / 3.684 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006741/6.51, allocations: 128 kB / 3.684 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/6.51, allocations: 11.44 kB / 3.684 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/6.512, allocations: 129.9 kB / 3.684 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.671e-05/6.512, allocations: 31.92 kB / 3.684 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/6.512, allocations: 6.375 kB / 3.684 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008424/6.513, allocations: 0.5543 MB / 3.685 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/6.513, allocations: 3.844 kB / 3.685 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/6.513, allocations: 0 / 3.685 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/6.513, allocations: 130 kB / 3.685 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/6.513, allocations: 3.688 kB / 3.685 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/6.514, allocations: 135.8 kB / 3.685 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/6.514, allocations: 27.19 kB / 3.685 GB, free: 173.3 MB / 0.8698 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.0001329/6.515, allocations: 116.8 kB / 3.685 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/6.515, allocations: 97.75 kB / 3.685 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/6.516, allocations: 0.7338 MB / 3.686 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/6.516, allocations: 9.438 kB / 3.686 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/6.516, allocations: 2.844 kB / 3.686 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/6.516, allocations: 6.672 kB / 3.686 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/6.518, allocations: 1.826 MB / 3.688 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/6.518, allocations: 0 / 3.688 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005916/6.519, allocations: 121.3 kB / 3.688 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/6.519, allocations: 6.125 kB / 3.688 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/6.519, allocations: 13.83 kB / 3.688 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/6.519, allocations: 3.906 kB / 3.688 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/6.519, allocations: 6.312 kB / 3.688 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00125/6.52, allocations: 1.233 MB / 3.689 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001919/6.522, allocations: 2.047 MB / 3.691 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000388/6.523, allocations: 295.7 kB / 3.691 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/6.523, allocations: 6.688 kB / 3.691 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/6.524, allocations: 81.33 kB / 3.692 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.472e-05/6.524, allocations: 45.16 kB / 3.692 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/6.524, allocations: 25.27 kB / 3.692 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000853/6.525, allocations: 0.7487 MB / 3.692 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003206/6.528, allocations: 0.9592 MB / 3.693 GB, free: 171.3 MB / 0.8698 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.002094/6.53, allocations: 1.876 MB / 3.695 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001307/6.531, allocations: 0.936 MB / 3.696 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/6.532, allocations: 3.969 kB / 3.696 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003447/6.532, allocations: 292.7 kB / 3.696 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/6.534, allocations: 396 kB / 3.697 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/6.536, allocations: 1.34 MB / 3.698 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007974/6.537, allocations: 1.193 MB / 3.699 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/6.537, allocations: 0 / 3.699 GB, free: 169.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)