Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.005/2.005, allocations: 387.2 MB / 394.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 190 kB / 487 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.3 MB / 0.7819 GB, free: 6.793 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 102.7 kB / 0.9213 GB, free: 43.72 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3648/0.366, allocations: 148.5 MB / 1.066 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9227/1.289, allocations: 142.3 MB / 1.205 GB, free: 72.75 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.438/5.727, allocations: 1.915 GB / 3.12 GB, free: 170.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/5.727, allocations: 96.53 kB / 3.12 GB, free: 170.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 2.533/8.26, allocations: 0.6124 GB / 3.733 GB, free: 270.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/8.261, allocations: 7.344 kB / 3.733 GB, free: 270.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/8.264, allocations: 384.5 kB / 3.733 GB, free: 270.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/8.266, allocations: 1.069 MB / 3.734 GB, free: 270 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/8.266, allocations: 14.78 kB / 3.734 GB, free: 270 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/8.266, allocations: 38.03 kB / 3.734 GB, free: 270 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008592/8.267, allocations: 0.526 MB / 3.735 GB, free: 270 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008664/8.268, allocations: 0.5039 MB / 3.735 GB, free: 269.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/8.268, allocations: 0 / 3.735 GB, free: 269.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.852e-05/8.268, allocations: 3.906 kB / 3.735 GB, free: 269.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/8.268, allocations: 22.5 kB / 3.735 GB, free: 269.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/8.272, allocations: 2.648 MB / 3.738 GB, free: 269.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/8.273, allocations: 0.4942 MB / 3.738 GB, free: 269.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003884/8.273, allocations: 308.9 kB / 3.739 GB, free: 269.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/8.273, allocations: 289.2 kB / 3.739 GB, free: 268.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/8.273, allocations: 42.23 kB / 3.739 GB, free: 268.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 2.675e-06/8.273, allocations: 3.656 kB / 3.739 GB, free: 268.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.001446/8.275, allocations: 0.695 MB / 3.74 GB, free: 268.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/8.275, allocations: 54.88 kB / 3.74 GB, free: 268.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/8.276, allocations: 0.9671 MB / 3.741 GB, free: 268.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.664e-05/8.276, allocations: 29.14 kB / 3.741 GB, free: 268.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/8.276, allocations: 270.2 kB / 3.741 GB, free: 268.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/8.277, allocations: 142.4 kB / 3.741 GB, free: 268.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/8.277, allocations: 0 / 3.741 GB, free: 268.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.543e-05/8.277, allocations: 320.8 kB / 3.741 GB, free: 268 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/8.277, allocations: 238.2 kB / 3.741 GB, free: 268 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/8.277, allocations: 454.9 kB / 3.742 GB, free: 267.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/8.278, allocations: 286.2 kB / 3.742 GB, free: 267.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/8.278, allocations: 3.906 kB / 3.742 GB, free: 267.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001018/8.279, allocations: 0.6656 MB / 3.743 GB, free: 267.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/8.279, allocations: 100.1 kB / 3.743 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/8.279, allocations: 0 / 3.743 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/8.279, allocations: 3.375 kB / 3.743 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007999/8.28, allocations: 141 kB / 3.743 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/8.28, allocations: 0 / 3.743 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/8.281, allocations: 128.8 kB / 3.743 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.598e-05/8.281, allocations: 32.08 kB / 3.743 GB, free: 267.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/8.281, allocations: 6.719 kB / 3.743 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008991/8.282, allocations: 0.5235 MB / 3.744 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/8.282, allocations: 0 / 3.744 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-06/8.282, allocations: 6.781 kB / 3.744 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/8.283, allocations: 136.1 kB / 3.744 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/8.283, allocations: 7.875 kB / 3.744 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/8.284, allocations: 133.1 kB / 3.744 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/8.284, allocations: 28.81 kB / 3.744 GB, free: 267.6 MB / 1.151 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0001854/8.285, allocations: 111.8 kB / 3.744 GB, free: 267.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/8.285, allocations: 92.28 kB / 3.744 GB, free: 267.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/8.287, allocations: 0.7456 MB / 3.745 GB, free: 267.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/8.287, allocations: 6.312 kB / 3.745 GB, free: 267.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/8.287, allocations: 0 / 3.745 GB, free: 267.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/8.287, allocations: 9.188 kB / 3.745 GB, free: 267.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/8.289, allocations: 1.834 MB / 3.747 GB, free: 267 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/8.289, allocations: 3.688 kB / 3.747 GB, free: 267 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006493/8.29, allocations: 123.5 kB / 3.747 GB, free: 267 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/8.29, allocations: 7.062 kB / 3.747 GB, free: 267 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/8.29, allocations: 10.88 kB / 3.747 GB, free: 267 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/8.29, allocations: 3.594 kB / 3.747 GB, free: 267 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/8.29, allocations: 7.594 kB / 3.747 GB, free: 267 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001777/8.292, allocations: 1.232 MB / 3.748 GB, free: 266.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002741/8.295, allocations: 2.054 MB / 3.75 GB, free: 265.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007637/8.296, allocations: 296.9 kB / 3.75 GB, free: 265.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/8.296, allocations: 7 kB / 3.75 GB, free: 265.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/8.297, allocations: 83.86 kB / 3.75 GB, free: 265.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/8.297, allocations: 43.52 kB / 3.751 GB, free: 265.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.528e-05/8.297, allocations: 18.72 kB / 3.751 GB, free: 265.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001334/8.299, allocations: 0.7488 MB / 3.751 GB, free: 265.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003789/8.302, allocations: 0.8972 MB / 3.752 GB, free: 265.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.002352/8.305, allocations: 1.823 MB / 3.754 GB, free: 265.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001378/8.306, allocations: 0.8486 MB / 3.755 GB, free: 265 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/8.306, allocations: 6.281 kB / 3.755 GB, free: 265 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003836/8.307, allocations: 294 kB / 3.755 GB, free: 265 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/8.309, allocations: 392.7 kB / 3.755 GB, free: 265 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/8.312, allocations: 1.307 MB / 3.757 GB, free: 264.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008931/8.313, allocations: 1.182 MB / 3.758 GB, free: 263.9 MB / 1.151 GB Notification: Performance of SimCode: time 8.02e-07/8.313, allocations: 0 / 3.758 GB, free: 263.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)