Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",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.001416/0.001416, allocations: 191.8 kB / 8.537 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 225.5 MB / 234.4 MB, free: 3.438 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009007/0.0009005, allocations: 94.67 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1763/0.1763, allocations: 45.13 MB / 383.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2218/0.3982, allocations: 69.38 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.5, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9494/1.449, allocations: 489.5 MB / 0.9819 GB, free: 187.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/1.45, allocations: 88.97 kB / 0.982 GB, free: 187.6 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.2054/1.655, allocations: 100.2 MB / 1.08 GB, free: 86.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.655, allocations: 8 kB / 1.08 GB, free: 86.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005331/1.656, allocations: 71.33 kB / 1.08 GB, free: 86.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007502/1.657, allocations: 410.5 kB / 1.08 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-05/1.657, allocations: 50.48 kB / 1.08 GB, free: 86.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.667e-05/1.657, allocations: 27.91 kB / 1.08 GB, free: 86.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005347/1.657, allocations: 305.4 kB / 1.081 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/1.658, allocations: 441.6 kB / 1.081 GB, free: 85.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/1.658, allocations: 4 kB / 1.081 GB, free: 85.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/1.658, allocations: 0 / 1.081 GB, free: 85.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/1.658, allocations: 20.66 kB / 1.081 GB, free: 85.38 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002849/1.661, allocations: 2.519 MB / 1.084 GB, free: 82.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/1.661, allocations: 174.1 kB / 1.084 GB, free: 82.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/1.661, allocations: 108.9 kB / 1.084 GB, free: 82.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/1.661, allocations: 7.984 kB / 1.084 GB, free: 82.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002474/1.662, allocations: 194.7 kB / 1.084 GB, free: 82.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 2.325e-06/1.662, allocations: 4 kB / 1.084 GB, free: 82.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.00611/1.668, allocations: 1.905 MB / 1.086 GB, free: 80.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/1.668, allocations: 166.2 kB / 1.086 GB, free: 79.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/1.668, allocations: 308.8 kB / 1.086 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/1.668, allocations: 29.7 kB / 1.086 GB, free: 79.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.452e-05/1.668, allocations: 219.8 kB / 1.087 GB, free: 79.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.901e-05/1.668, allocations: 149.8 kB / 1.087 GB, free: 79.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/1.668, allocations: 0 / 1.087 GB, free: 79.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.4e-05/1.668, allocations: 362.8 kB / 1.087 GB, free: 78.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/1.669, allocations: 145.3 kB / 1.087 GB, free: 78.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/1.669, allocations: 327.9 kB / 1.088 GB, free: 78.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/1.669, allocations: 212.6 kB / 1.088 GB, free: 78.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.669, allocations: 4 kB / 1.088 GB, free: 78.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009457/1.67, allocations: 0.558 MB / 1.088 GB, free: 77.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/1.67, allocations: 4 kB / 1.088 GB, free: 77.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.67, allocations: 8 kB / 1.088 GB, free: 77.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/1.671, allocations: 104.8 kB / 1.088 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/1.671, allocations: 156.1 kB / 1.089 GB, free: 77.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004585/1.672, allocations: 0.6966 MB / 1.089 GB, free: 76.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/1.672, allocations: 60.02 kB / 1.089 GB, free: 76.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/1.672, allocations: 47.98 kB / 1.089 GB, free: 76.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (sweptVolume.regularFlow[1],$whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001278/1.673, allocations: 127.6 kB / 1.089 GB, free: 76.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/1.673, allocations: 43.44 kB / 1.09 GB, free: 76.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/1.674, allocations: 0.5642 MB / 1.09 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/1.674, allocations: 7.938 kB / 1.09 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.674, allocations: 0 / 1.09 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.674, allocations: 3.984 kB / 1.09 GB, free: 75.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/1.676, allocations: 1.03 MB / 1.091 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.676, allocations: 0 / 1.091 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005058/1.676, allocations: 132 kB / 1.091 GB, free: 74.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005373/1.677, allocations: 100.8 kB / 1.091 GB, free: 74.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/1.677, allocations: 8 kB / 1.091 GB, free: 74.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/1.678, allocations: 1.604 MB / 1.093 GB, free: 72.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.678, allocations: 0 / 1.093 GB, free: 72.68 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00113/1.679, allocations: 0.7728 MB / 1.094 GB, free: 71.85 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001408/1.681, allocations: 1.372 MB / 1.095 GB, free: 70.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/1.681, allocations: 164.4 kB / 1.095 GB, free: 70.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.877e-05/1.681, allocations: 4 kB / 1.095 GB, free: 70.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005132/1.681, allocations: 63.84 kB / 1.095 GB, free: 70.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/1.682, allocations: 55.92 kB / 1.095 GB, free: 70.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.107e-05/1.682, allocations: 31.98 kB / 1.095 GB, free: 70.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001974/1.682, allocations: 243.1 kB / 1.095 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001633/1.683, allocations: 351.8 kB / 1.096 GB, free: 69.51 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001594/1.685, allocations: 0.9211 MB / 1.097 GB, free: 68.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007647/1.686, allocations: 431.8 kB / 1.097 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.686, allocations: 0 / 1.097 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004431/1.686, allocations: 299.2 kB / 1.097 GB, free: 67.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008736/1.687, allocations: 154 kB / 1.098 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/1.689, allocations: 0.7965 MB / 1.098 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006863/1.69, allocations: 0.968 MB / 1.099 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of SimCode: time 4.4e-07/1.69, allocations: 0 / 1.099 GB, free: 65.88 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)