Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 186.8 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4556/0.4556, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.4 MB / 342.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 99.77 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1684/0.1695, allocations: 78.45 MB / 494 MB, free: 7.961 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.5691, allocations: 72.3 MB / 0.553 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.925/4.494, allocations: 1.868 GB / 2.421 GB, free: 206.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/4.494, allocations: 95.94 kB / 2.421 GB, free: 206.8 MB / 0.6042 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.013/6.507, allocations: 0.6123 GB / 3.034 GB, free: 46.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/6.507, allocations: 12 kB / 3.034 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004121/6.511, allocations: 386.2 kB / 3.034 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/6.515, allocations: 1.066 MB / 3.035 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/6.515, allocations: 16 kB / 3.035 GB, free: 44.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/6.515, allocations: 36 kB / 3.035 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001024/6.516, allocations: 0.5291 MB / 3.036 GB, free: 44.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009137/6.517, allocations: 0.5042 MB / 3.036 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/6.517, allocations: 0 / 3.036 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/6.517, allocations: 3.938 kB / 3.036 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/6.517, allocations: 17 kB / 3.036 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005119/6.523, allocations: 2.653 MB / 3.039 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006999/6.523, allocations: 0.5006 MB / 3.039 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/6.524, allocations: 309.5 kB / 3.04 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003869/6.524, allocations: 291.2 kB / 3.04 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/6.524, allocations: 47.28 kB / 3.04 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 2.805e-06/6.524, allocations: 0 / 3.04 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.001683/6.526, allocations: 0.6992 MB / 3.041 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/6.526, allocations: 55.41 kB / 3.041 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/6.527, allocations: 0.9608 MB / 3.042 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.731e-05/6.527, allocations: 29.7 kB / 3.042 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/6.527, allocations: 275.6 kB / 3.042 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/6.527, allocations: 141.8 kB / 3.042 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/6.527, allocations: 0 / 3.042 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.373e-05/6.528, allocations: 322 kB / 3.042 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/6.528, allocations: 232.7 kB / 3.042 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/6.528, allocations: 450.6 kB / 3.043 GB, free: 36.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/6.529, allocations: 288.9 kB / 3.043 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/6.529, allocations: 0 / 3.043 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001002/6.53, allocations: 0.671 MB / 3.044 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/6.53, allocations: 98.78 kB / 3.044 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/6.53, allocations: 112 / 3.044 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/6.53, allocations: 7.938 kB / 3.044 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007849/6.531, allocations: 139.8 kB / 3.044 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/6.531, allocations: 0 / 3.044 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/6.532, allocations: 127.6 kB / 3.044 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.438e-05/6.532, allocations: 31.97 kB / 3.044 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/6.532, allocations: 4 kB / 3.044 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000812/6.533, allocations: 0.5306 MB / 3.045 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-06/6.533, allocations: 4 kB / 3.045 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.968e-06/6.533, allocations: 0 / 3.045 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006921/6.534, allocations: 139.8 kB / 3.045 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/6.534, allocations: 4 kB / 3.045 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/6.535, allocations: 123.6 kB / 3.045 GB, free: 34.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-05/6.535, allocations: 31.97 kB / 3.045 GB, free: 34.39 MB / 0.6042 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.0001438/6.535, allocations: 108.9 kB / 3.045 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/6.535, allocations: 94.78 kB / 3.045 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/6.537, allocations: 0.7504 MB / 3.046 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/6.537, allocations: 4 kB / 3.046 GB, free: 33.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/6.537, allocations: 0 / 3.046 GB, free: 33.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/6.537, allocations: 11.98 kB / 3.046 GB, free: 33.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/6.539, allocations: 1.829 MB / 3.048 GB, free: 31.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/6.539, allocations: 4 kB / 3.048 GB, free: 31.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006175/6.54, allocations: 120.1 kB / 3.048 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/6.54, allocations: 4 kB / 3.048 GB, free: 31.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/6.54, allocations: 11.98 kB / 3.048 GB, free: 31.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/6.54, allocations: 11.88 kB / 3.048 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/6.54, allocations: 0 / 3.048 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001382/6.541, allocations: 1.231 MB / 3.049 GB, free: 30.04 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002112/6.543, allocations: 2.054 MB / 3.051 GB, free: 27.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/6.544, allocations: 303.7 kB / 3.051 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/6.544, allocations: 11.98 kB / 3.051 GB, free: 27.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/6.545, allocations: 79.81 kB / 3.051 GB, free: 27.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/6.545, allocations: 43.89 kB / 3.052 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/6.545, allocations: 27.89 kB / 3.052 GB, free: 27.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0009021/6.546, allocations: 0.7468 MB / 3.052 GB, free: 26.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003203/6.549, allocations: 0.8976 MB / 3.053 GB, free: 25.75 MB / 0.6042 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.002109/6.552, allocations: 1.818 MB / 3.055 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001295/6.553, allocations: 0.8519 MB / 3.056 GB, free: 23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/6.553, allocations: 8 kB / 3.056 GB, free: 23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/6.553, allocations: 283.7 kB / 3.056 GB, free: 22.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/6.555, allocations: 382.5 kB / 3.056 GB, free: 22.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/6.558, allocations: 1.315 MB / 3.058 GB, free: 20.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008741/6.559, allocations: 1.18 MB / 3.059 GB, free: 19.77 MB / 0.6042 GB Notification: Performance of SimCode: time 6.91e-07/6.559, allocations: 0 / 3.059 GB, free: 19.77 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)