Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009795/0.0009795, allocations: 178.2 kB / 8.52 MB, free: 1.828 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.159/1.159, allocations: 221.4 MB / 230.3 MB, free: 7.684 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.0009882/0.0009883, allocations: 89.59 kB / 281.2 MB, free: 5.504 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.1556/0.1556, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1776/0.3332, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09255/0.4258, allocations: 61.91 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8616/1.287, allocations: 488.5 MB / 0.9712 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/1.288, allocations: 83.78 kB / 0.9713 GB, free: 129.7 MB / 0.5105 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.1923/1.48, allocations: 99.77 MB / 1.069 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/1.48, allocations: 15.94 kB / 1.069 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004466/1.48, allocations: 67.33 kB / 1.069 GB, free: 28.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/1.481, allocations: 410.5 kB / 1.069 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/1.481, allocations: 46.48 kB / 1.069 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.721e-05/1.481, allocations: 31.89 kB / 1.069 GB, free: 28.37 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004888/1.482, allocations: 309.4 kB / 1.07 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005799/1.482, allocations: 445.6 kB / 1.07 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/1.482, allocations: 0 / 1.07 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/1.482, allocations: 4 kB / 1.07 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/1.482, allocations: 12.66 kB / 1.07 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/1.485, allocations: 2.49 MB / 1.072 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/1.485, allocations: 169.8 kB / 1.073 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/1.486, allocations: 108.9 kB / 1.073 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/1.486, allocations: 7.984 kB / 1.073 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/1.486, allocations: 199.2 kB / 1.073 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/1.486, allocations: 0 / 1.073 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44): time 0.005861/1.492, allocations: 1.897 MB / 1.075 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/1.492, allocations: 166.2 kB / 1.075 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/1.492, allocations: 316.7 kB / 1.075 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/1.492, allocations: 25.7 kB / 1.075 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/1.492, allocations: 219.8 kB / 1.075 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.332e-05/1.492, allocations: 145.8 kB / 1.076 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/1.492, allocations: 3.938 kB / 1.076 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.912e-05/1.492, allocations: 358.8 kB / 1.076 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/1.493, allocations: 141.3 kB / 1.076 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/1.493, allocations: 331.9 kB / 1.076 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/1.493, allocations: 212.6 kB / 1.077 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.493, allocations: 4 kB / 1.077 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008567/1.494, allocations: 0.5583 MB / 1.077 GB, free: 19.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/1.494, allocations: 7.984 kB / 1.077 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.494, allocations: 4.047 kB / 1.077 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/1.495, allocations: 108.7 kB / 1.077 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/1.495, allocations: 151.8 kB / 1.077 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000441/1.496, allocations: 0.7006 MB / 1.078 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/1.496, allocations: 67.86 kB / 1.078 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/1.496, allocations: 47.98 kB / 1.078 GB, free: 18.72 MB / 0.5105 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.0001252/1.496, allocations: 120.9 kB / 1.078 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/1.496, allocations: 47.44 kB / 1.078 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/1.498, allocations: 0.5594 MB / 1.079 GB, free: 17.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/1.498, allocations: 4 kB / 1.079 GB, free: 17.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.498, allocations: 4 kB / 1.079 GB, free: 17.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/1.498, allocations: 3.984 kB / 1.079 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/1.499, allocations: 1.022 MB / 1.08 GB, free: 16.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.499, allocations: 0 / 1.08 GB, free: 16.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/1.5, allocations: 127.9 kB / 1.08 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/1.5, allocations: 100.8 kB / 1.08 GB, free: 16.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/1.5, allocations: 11.98 kB / 1.08 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/1.502, allocations: 1.596 MB / 1.082 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.502, allocations: 0 / 1.082 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001105/1.503, allocations: 0.7847 MB / 1.082 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001406/1.504, allocations: 1.379 MB / 1.084 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/1.504, allocations: 156.6 kB / 1.084 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-05/1.504, allocations: 11.97 kB / 1.084 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005181/1.505, allocations: 59.86 kB / 1.084 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.505, allocations: 55.91 kB / 1.084 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.304e-05/1.505, allocations: 35.98 kB / 1.084 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001864/1.505, allocations: 239.2 kB / 1.084 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001602/1.507, allocations: 339.8 kB / 1.085 GB, free: 11.75 MB / 0.5105 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.001354/1.508, allocations: 0.9165 MB / 1.086 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006671/1.509, allocations: 424.8 kB / 1.086 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/1.509, allocations: 4 kB / 1.086 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003778/1.509, allocations: 301.6 kB / 1.086 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007852/1.51, allocations: 166.1 kB / 1.086 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/1.512, allocations: 0.8006 MB / 1.087 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006019/1.512, allocations: 0.9758 MB / 1.088 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.512, allocations: 4 kB / 1.088 GB, free: 8.105 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)