Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.TestVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",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.001283/0.001283, allocations: 195.4 kB / 8.538 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 90.62 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1924/0.1924, allocations: 45.14 MB / 383.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2502/0.4426, allocations: 69.37 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.5579, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.774/5.332, allocations: 2.77 GB / 3.274 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/5.332, allocations: 87.25 kB / 3.274 GB, free: 145.5 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.9372/6.269, allocations: 359.1 MB / 3.625 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/6.269, allocations: 11.94 kB / 3.625 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003754/6.273, allocations: 478.5 kB / 3.625 GB, free: 84 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1932/6.466, allocations: 0.5643 MB / 3.626 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/6.467, allocations: 88.66 kB / 3.626 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/6.467, allocations: 33.25 kB / 3.626 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001244/6.468, allocations: 0.7455 MB / 3.627 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/6.469, allocations: 0.8527 MB / 3.628 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/6.469, allocations: 0 / 3.628 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/6.469, allocations: 6.281 kB / 3.628 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/6.469, allocations: 32.58 kB / 3.628 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08511/6.554, allocations: 50.13 MB / 3.677 GB, free: 86.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009649/6.555, allocations: 0.5821 MB / 3.677 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004747/6.556, allocations: 306.3 kB / 3.677 GB, free: 86.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03193/6.588, allocations: 18.96 MB / 3.696 GB, free: 73.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/6.588, allocations: 39.5 kB / 3.696 GB, free: 73.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 2.675e-06/6.588, allocations: 0 / 3.696 GB, free: 73.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.00463/6.593, allocations: 1.355 MB / 3.697 GB, free: 73.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/6.593, allocations: 106.8 kB / 3.697 GB, free: 73.26 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/6.593, allocations: 395.8 kB / 3.698 GB, free: 73.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.959e-05/6.593, allocations: 25.7 kB / 3.698 GB, free: 73.13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/6.594, allocations: 293.4 kB / 3.698 GB, free: 72.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/6.594, allocations: 141.5 kB / 3.698 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/6.594, allocations: 0 / 3.698 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.84e-05/6.594, allocations: 363.8 kB / 3.699 GB, free: 72.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/6.594, allocations: 312.6 kB / 3.699 GB, free: 72.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004916/6.595, allocations: 476.1 kB / 3.699 GB, free: 72.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/6.597, allocations: 0.6062 MB / 3.7 GB, free: 72.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/6.597, allocations: 3.969 kB / 3.7 GB, free: 72.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003895/6.601, allocations: 1.547 MB / 3.701 GB, free: 72.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/6.601, allocations: 7.125 kB / 3.701 GB, free: 72.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/6.601, allocations: 3.5 kB / 3.701 GB, free: 72.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007846/6.602, allocations: 420.1 kB / 3.702 GB, free: 72.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/6.602, allocations: 128.1 kB / 3.702 GB, free: 72.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/6.605, allocations: 1.936 MB / 3.704 GB, free: 71.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008893/6.606, allocations: 106.4 kB / 3.704 GB, free: 71.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.694e-05/6.606, allocations: 39.08 kB / 3.704 GB, free: 71.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001753/6.606, allocations: 122.7 kB / 3.704 GB, free: 71.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008106/6.607, allocations: 273.1 kB / 3.704 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004174/6.611, allocations: 2.838 MB / 3.707 GB, free: 70.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/6.611, allocations: 29.02 kB / 3.707 GB, free: 70.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/6.611, allocations: 0 / 3.707 GB, free: 70.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/6.611, allocations: 3.75 kB / 3.707 GB, free: 70.85 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004507/6.615, allocations: 3.651 MB / 3.711 GB, free: 70.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/6.615, allocations: 2.125 kB / 3.711 GB, free: 70.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/6.616, allocations: 63.72 kB / 3.711 GB, free: 70.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/6.617, allocations: 0.7332 MB / 3.711 GB, free: 70.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.479e-05/6.617, allocations: 15.02 kB / 3.711 GB, free: 70.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002623/6.62, allocations: 2.338 MB / 3.714 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/6.62, allocations: 8.469 kB / 3.714 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003867/6.623, allocations: 2.376 MB / 3.716 GB, free: 68.99 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004069/6.628, allocations: 2.829 MB / 3.719 GB, free: 68.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004737/6.628, allocations: 284.8 kB / 3.719 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/6.628, allocations: 3.75 kB / 3.719 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006405/6.629, allocations: 57.53 kB / 3.719 GB, free: 68.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/6.629, allocations: 61.08 kB / 3.719 GB, free: 68.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.879e-05/6.629, allocations: 24.52 kB / 3.719 GB, free: 68.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0004072/6.629, allocations: 367.2 kB / 3.72 GB, free: 68.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005881/6.635, allocations: 1.346 MB / 3.721 GB, free: 68.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {2 1,3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00873/6.644, allocations: 1.765 MB / 3.723 GB, free: 67.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00195/6.646, allocations: 1.218 MB / 3.724 GB, free: 67.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/6.646, allocations: 3.938 kB / 3.724 GB, free: 67.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/6.647, allocations: 1.013 MB / 3.725 GB, free: 67.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/6.649, allocations: 245.4 kB / 3.725 GB, free: 67.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/6.652, allocations: 1.647 MB / 3.727 GB, free: 67.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007145/6.652, allocations: 1.134 MB / 3.728 GB, free: 66.75 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/6.652, allocations: 4 kB / 3.728 GB, free: 66.74 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1)