Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",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 trunk/package.mo): time 0.001115/0.001115, allocations: 202.1 kB / 8.54 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.152/1.152, allocations: 225.5 MB / 234.4 MB, free: 3.379 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009063/0.0009063, allocations: 97.73 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1637/0.1637, allocations: 45.14 MB / 383.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1897/0.3534, allocations: 69.38 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.4546, allocations: 63.23 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5902/1.045, allocations: 303.5 MB / 0.8002 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/1.045, allocations: 88.77 kB / 0.8003 GB, free: 155.2 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.2756/1.321, allocations: 155.8 MB / 0.9524 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/1.321, allocations: 11.94 kB / 0.9524 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004988/1.321, allocations: 126.8 kB / 0.9526 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/1.322, allocations: 0.6081 MB / 0.9532 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/1.322, allocations: 216.2 kB / 0.9534 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/1.323, allocations: 48 kB / 0.9534 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001213/1.324, allocations: 0.8239 MB / 0.9542 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/1.325, allocations: 1.169 MB / 0.9553 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/1.325, allocations: 15.84 kB / 0.9554 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.755e-05/1.325, allocations: 4 kB / 0.9554 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.527e-05/1.325, allocations: 45.3 kB / 0.9554 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1571/1.483, allocations: 6.705 MB / 0.962 GB, free: 180.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/1.483, allocations: 224.8 kB / 0.9622 GB, free: 180.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/1.483, allocations: 140.6 kB / 0.9623 GB, free: 180.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/1.485, allocations: 2.841 MB / 0.9651 GB, free: 177.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/1.485, allocations: 39.47 kB / 0.9651 GB, free: 177.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 1.843e-06/1.485, allocations: 0 / 0.9651 GB, free: 177.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.001755/1.487, allocations: 0.8623 MB / 0.966 GB, free: 177 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/1.487, allocations: 61.17 kB / 0.966 GB, free: 176.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006018/1.487, allocations: 0.6493 MB / 0.9667 GB, free: 176.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/1.487, allocations: 29.61 kB / 0.9667 GB, free: 176.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/1.488, allocations: 0.5545 MB / 0.9672 GB, free: 176.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/1.488, allocations: 106 kB / 0.9673 GB, free: 176.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/1.488, allocations: 0 / 0.9673 GB, free: 176.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.488, allocations: 394 kB / 0.9677 GB, free: 176.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/1.488, allocations: 214.4 kB / 0.9679 GB, free: 176.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/1.489, allocations: 0.9242 MB / 0.9688 GB, free: 175.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006702/1.489, allocations: 436.7 kB / 0.9692 GB, free: 175.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.489, allocations: 7.562 kB / 0.9692 GB, free: 175.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001465/1.491, allocations: 1.023 MB / 0.9702 GB, free: 175.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.491, allocations: 7.469 kB / 0.9702 GB, free: 175.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/1.491, allocations: 33.89 kB / 0.9703 GB, free: 175.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-05/1.491, allocations: 42.28 kB / 0.9703 GB, free: 175.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/1.492, allocations: 280.1 kB / 0.9706 GB, free: 175.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.557e-05/1.492, allocations: 51.91 kB / 0.9706 GB, free: 175.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006247/1.492, allocations: 33.02 kB / 0.9707 GB, free: 175.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/1.492, allocations: 83.61 kB / 0.9707 GB, free: 175.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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.0001305/1.493, allocations: 168.9 kB / 0.9709 GB, free: 175 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.231e-05/1.493, allocations: 76.19 kB / 0.971 GB, free: 174.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006877/1.493, allocations: 379.9 kB / 0.9713 GB, free: 174.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/1.493, allocations: 0 / 0.9713 GB, free: 174.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.493, allocations: 6.125 kB / 0.9713 GB, free: 174.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.493, allocations: 3.656 kB / 0.9713 GB, free: 174.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/1.494, allocations: 0.8853 MB / 0.9722 GB, free: 174.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.494, allocations: 0 / 0.9722 GB, free: 174.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/1.495, allocations: 55.73 kB / 0.9723 GB, free: 174.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/1.495, allocations: 3.781 kB / 0.9723 GB, free: 174.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/1.495, allocations: 7.594 kB / 0.9723 GB, free: 174.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.495, allocations: 0 / 0.9723 GB, free: 174.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.495, allocations: 3.656 kB / 0.9723 GB, free: 174.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006499/1.495, allocations: 0.549 MB / 0.9728 GB, free: 174.4 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008366/1.496, allocations: 1.061 MB / 0.9738 GB, free: 173.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/1.497, allocations: 192.7 kB / 0.974 GB, free: 173.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/1.497, allocations: 3.906 kB / 0.974 GB, free: 173.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/1.497, allocations: 14.41 kB / 0.974 GB, free: 173.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/1.497, allocations: 19.34 kB / 0.9741 GB, free: 173.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/1.497, allocations: 19.33 kB / 0.9741 GB, free: 173.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003941/1.498, allocations: 450.4 kB / 0.9745 GB, free: 173.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001684/1.499, allocations: 336.1 kB / 0.9748 GB, free: 173.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006198/1.5, allocations: 430.1 kB / 0.9752 GB, free: 173.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000629/1.5, allocations: 0.5572 MB / 0.9758 GB, free: 173.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.5, allocations: 3.828 kB / 0.9758 GB, free: 173.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/1.501, allocations: 120.3 kB / 0.9759 GB, free: 173.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/1.502, allocations: 240.7 kB / 0.9761 GB, free: 173.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/1.503, allocations: 1.01 MB / 0.9771 GB, free: 173.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/1.504, allocations: 1.089 MB / 0.9782 GB, free: 172.5 MB / 0.5261 GB Notification: Performance of SimCode: time 3.2e-07/1.504, allocations: 0 / 0.9782 GB, free: 172.5 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1)