Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.777/0.777, allocations: 127.4 MB / 134.6 MB, free: 4.105 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 189.2 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.1 MB / 399.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000982/0.0009819, allocations: 88.16 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3482/0.3492, allocations: 82.89 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.5612, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.454/6.016, allocations: 2.157 GB / 2.778 GB, free: 52.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/6.016, allocations: 99.92 kB / 2.778 GB, free: 52.7 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 2.66/8.676, allocations: 0.5997 GB / 3.378 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/8.676, allocations: 9.625 kB / 3.378 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004359/8.68, allocations: 408.2 kB / 3.378 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/8.684, allocations: 0.9185 MB / 3.379 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-05/8.684, allocations: 15.88 kB / 3.379 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/8.684, allocations: 32.78 kB / 3.379 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001556/8.686, allocations: 0.5375 MB / 3.38 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/8.687, allocations: 0.5672 MB / 3.38 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/8.687, allocations: 0 / 3.38 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.187e-05/8.687, allocations: 3.906 kB / 3.38 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/8.687, allocations: 15.36 kB / 3.38 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005669/8.693, allocations: 2.426 MB / 3.383 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009097/8.694, allocations: 0.51 MB / 3.383 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004741/8.695, allocations: 308.2 kB / 3.384 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005198/8.695, allocations: 295.5 kB / 3.384 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/8.695, allocations: 41.91 kB / 3.384 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 3.186e-06/8.695, allocations: 0 / 3.384 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.00288/8.698, allocations: 0.81 MB / 3.385 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.94e-05/8.698, allocations: 140.2 kB / 3.385 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/8.7, allocations: 0.7553 MB / 3.386 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001576/8.7, allocations: 29.55 kB / 3.386 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/8.7, allocations: 263 kB / 3.386 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/8.7, allocations: 143.3 kB / 3.386 GB, free: 109 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/8.7, allocations: 3.531 kB / 3.386 GB, free: 109 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/8.701, allocations: 323.3 kB / 3.386 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004319/8.701, allocations: 284.8 kB / 3.387 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005757/8.702, allocations: 452.7 kB / 3.387 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/8.702, allocations: 334.2 kB / 3.387 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/8.702, allocations: 3.562 kB / 3.387 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001714/8.704, allocations: 0.7635 MB / 3.388 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.686e-05/8.704, allocations: 95.06 kB / 3.388 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/8.704, allocations: 3.562 kB / 3.388 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/8.704, allocations: 3.844 kB / 3.388 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/8.705, allocations: 166.2 kB / 3.388 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/8.705, allocations: 3.75 kB / 3.388 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/8.707, allocations: 109.7 kB / 3.388 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/8.707, allocations: 34.33 kB / 3.388 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/8.707, allocations: 2.781 kB / 3.388 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001028/8.708, allocations: 0.5927 MB / 3.389 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/8.708, allocations: 7 kB / 3.389 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/8.708, allocations: 3.906 kB / 3.389 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/8.708, allocations: 141.5 kB / 3.389 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/8.708, allocations: 3.875 kB / 3.389 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/8.709, allocations: 86.77 kB / 3.389 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.59e-05/8.71, allocations: 31.56 kB / 3.389 GB, free: 108.3 MB / 0.6511 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 (53): * Single equations (assignments): 51 * 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.0001878/8.71, allocations: 114.6 kB / 3.389 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/8.71, allocations: 92.56 kB / 3.389 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/8.712, allocations: 0.7711 MB / 3.39 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/8.712, allocations: 7.781 kB / 3.39 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/8.712, allocations: 0 / 3.39 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/8.712, allocations: 3.703 kB / 3.39 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/8.715, allocations: 1.781 MB / 3.392 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/8.715, allocations: 0 / 3.392 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008561/8.716, allocations: 146.9 kB / 3.392 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/8.716, allocations: 7.25 kB / 3.392 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/8.716, allocations: 15.05 kB / 3.392 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-06/8.716, allocations: 3.688 kB / 3.392 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/8.716, allocations: 3.875 kB / 3.392 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001789/8.718, allocations: 1.294 MB / 3.393 GB, free: 107.3 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002495/8.72, allocations: 2.148 MB / 3.395 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/8.721, allocations: 195.4 kB / 3.396 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/8.721, allocations: 12.89 kB / 3.396 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/8.722, allocations: 78.89 kB / 3.396 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/8.722, allocations: 43.77 kB / 3.396 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-05/8.722, allocations: 24.84 kB / 3.396 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000903/8.723, allocations: 0.5856 MB / 3.396 GB, free: 106.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003991/8.727, allocations: 0.9187 MB / 3.397 GB, free: 106.2 MB / 0.6511 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.003357/8.73, allocations: 1.897 MB / 3.399 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002085/8.732, allocations: 1.016 MB / 3.4 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/8.732, allocations: 3.625 kB / 3.4 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000471/8.733, allocations: 313.4 kB / 3.4 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/8.735, allocations: 378.7 kB / 3.401 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005968/8.741, allocations: 1.726 MB / 3.402 GB, free: 105.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/8.742, allocations: 1.171 MB / 3.404 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.362e-06/8.742, allocations: 0 / 3.404 GB, free: 104.6 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)