Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",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.0009976/0.0009977, allocations: 178.8 kB / 8.517 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 221.4 MB / 230.3 MB, free: 7.652 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 91.97 kB / 281.2 MB, free: 5.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1751/0.1751, allocations: 44.14 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2138/0.3889, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.5067, allocations: 61.92 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.552/5.059, allocations: 2.792 GB / 3.286 GB, free: 160.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/5.059, allocations: 93.27 kB / 3.286 GB, free: 160.1 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 1.738/6.797, allocations: 0.6602 GB / 3.946 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/6.797, allocations: 8.469 kB / 3.946 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/6.802, allocations: 0.6979 MB / 3.947 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/6.804, allocations: 0.8371 MB / 3.947 GB, free: 43.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/6.804, allocations: 179.2 kB / 3.948 GB, free: 43.22 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002959/6.804, allocations: 57.38 kB / 3.948 GB, free: 43.22 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002152/6.807, allocations: 1.172 MB / 3.949 GB, free: 43.22 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/6.809, allocations: 1.383 MB / 3.95 GB, free: 42.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/6.809, allocations: 6.562 kB / 3.95 GB, free: 42.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/6.809, allocations: 10.77 kB / 3.95 GB, free: 42.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-05/6.809, allocations: 49.23 kB / 3.95 GB, free: 42.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06666/6.876, allocations: 41.26 MB / 3.991 GB, free: 33.01 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/6.876, allocations: 388.1 kB / 3.991 GB, free: 32.99 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/6.877, allocations: 328.9 kB / 3.991 GB, free: 32.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0407/6.917, allocations: 25.18 MB / 4.016 GB, free: 29.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.873e-05/6.918, allocations: 43.84 kB / 4.016 GB, free: 29.26 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=64): time 3.216e-06/6.918, allocations: 0 / 4.016 GB, free: 29.26 MB / 0.5573 GB Notification: Performance of matching and sorting (n=72): time 0.009837/6.927, allocations: 2.904 MB / 4.019 GB, free: 28.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/6.928, allocations: 110.8 kB / 4.019 GB, free: 28.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008446/6.928, allocations: 0.6555 MB / 4.019 GB, free: 28.46 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.72e-05/6.928, allocations: 25.7 kB / 4.019 GB, free: 28.43 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/6.929, allocations: 0.505 MB / 4.02 GB, free: 28.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/6.929, allocations: 261.4 kB / 4.02 GB, free: 27.93 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/6.929, allocations: 0 / 4.02 GB, free: 27.93 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001406/6.929, allocations: 401.7 kB / 4.021 GB, free: 27.61 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005347/6.93, allocations: 396.9 kB / 4.021 GB, free: 27.61 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006928/6.93, allocations: 0.9445 MB / 4.022 GB, free: 26.89 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00198/6.932, allocations: 0.6748 MB / 4.023 GB, free: 26.86 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/6.932, allocations: 6.375 kB / 4.023 GB, free: 26.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004804/6.937, allocations: 2.058 MB / 4.025 GB, free: 26.73 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/6.937, allocations: 3.906 kB / 4.025 GB, free: 26.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/6.937, allocations: 19.12 kB / 4.025 GB, free: 26.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/6.939, allocations: 483.5 kB / 4.025 GB, free: 26.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007966/6.939, allocations: 257.6 kB / 4.025 GB, free: 26.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/6.942, allocations: 1.972 MB / 4.027 GB, free: 25.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/6.943, allocations: 126.3 kB / 4.027 GB, free: 25.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/6.943, allocations: 83.53 kB / 4.027 GB, free: 25.63 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase,mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,3 28} Notification: Performance of prepare postOptimizeDAE: time 0.0002713/6.944, allocations: 167.9 kB / 4.028 GB, free: 25.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/6.945, allocations: 426.8 kB / 4.028 GB, free: 25.45 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00555/6.95, allocations: 4.083 MB / 4.032 GB, free: 25.08 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/6.95, allocations: 43.45 kB / 4.032 GB, free: 25.08 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/6.95, allocations: 0 / 4.032 GB, free: 25.08 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/6.95, allocations: 4.562 kB / 4.032 GB, free: 25.08 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006967/6.957, allocations: 5.533 MB / 4.037 GB, free: 24.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/6.957, allocations: 0.9688 kB / 4.037 GB, free: 24.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005624/6.958, allocations: 136.5 kB / 4.038 GB, free: 24.53 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/6.959, allocations: 0.6394 MB / 4.038 GB, free: 24.48 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/6.959, allocations: 20.45 kB / 4.038 GB, free: 24.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/6.961, allocations: 1.872 MB / 4.04 GB, free: 23.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/6.961, allocations: 1.438 kB / 4.04 GB, free: 23.43 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006056/6.967, allocations: 4.225 MB / 4.044 GB, free: 22.9 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007202/6.974, allocations: 5.672 MB / 4.05 GB, free: 19.49 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006425/6.975, allocations: 342.3 kB / 4.05 GB, free: 19.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/6.975, allocations: 11.91 kB / 4.05 GB, free: 19.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000787/6.976, allocations: 74.78 kB / 4.05 GB, free: 19.12 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/6.976, allocations: 74.55 kB / 4.05 GB, free: 19.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/6.976, allocations: 41.5 kB / 4.05 GB, free: 19.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0005707/6.977, allocations: 478.8 kB / 4.051 GB, free: 18.62 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006671/6.984, allocations: 1.67 MB / 4.052 GB, free: 17 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 27 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008408/6.992, allocations: 2.368 MB / 4.055 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002385/6.994, allocations: 1.996 MB / 4.057 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/6.994, allocations: 0 / 4.057 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/6.996, allocations: 1.685 MB / 4.058 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/6.998, allocations: 385.4 kB / 4.059 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/7.002, allocations: 2.912 MB / 4.061 GB, free: 8.832 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009715/7.003, allocations: 1.44 MB / 4.063 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of SimCode: time 3.41e-07/7.003, allocations: 0 / 4.063 GB, free: 7.59 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1)