Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",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.001317/0.001317, allocations: 199.8 kB / 8.538 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.284/1.284, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009741/0.0009742, allocations: 93.33 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.181/0.181, allocations: 45.14 MB / 383.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2601/0.4412, allocations: 69.38 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.5492, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.057/5.606, allocations: 2.787 GB / 3.291 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/5.606, allocations: 86.84 kB / 3.291 GB, free: 117.4 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 1.224/6.83, allocations: 442.7 MB / 3.724 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/6.83, allocations: 11.34 kB / 3.724 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/6.833, allocations: 347.4 kB / 3.724 GB, free: 54.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/6.834, allocations: 0.5797 MB / 3.725 GB, free: 53.76 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/6.834, allocations: 21.59 kB / 3.725 GB, free: 53.76 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.567e-05/6.834, allocations: 33.84 kB / 3.725 GB, free: 53.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00112/6.836, allocations: 0.546 MB / 3.725 GB, free: 53.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/6.837, allocations: 0.6699 MB / 3.726 GB, free: 53.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/6.837, allocations: 6.062 kB / 3.726 GB, free: 53.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.811e-05/6.837, allocations: 1.812 kB / 3.726 GB, free: 53.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/6.837, allocations: 25.62 kB / 3.726 GB, free: 53.19 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01955/6.856, allocations: 12.83 MB / 3.738 GB, free: 43.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/6.857, allocations: 326 kB / 3.739 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/6.858, allocations: 235.3 kB / 3.739 GB, free: 43.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1121/6.97, allocations: 63.58 MB / 3.801 GB, free: 2.668 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/6.97, allocations: 43 kB / 3.801 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 2.635e-06/6.97, allocations: 0 / 3.801 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of matching and sorting (n=51): time 0.006791/6.976, allocations: 1.861 MB / 3.803 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/6.977, allocations: 115.2 kB / 3.803 GB, free: 0.5664 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004767/6.977, allocations: 377.2 kB / 3.803 GB, free: 196 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/6.977, allocations: 25.7 kB / 3.803 GB, free: 164 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.1837/7.161, allocations: 271.5 kB / 3.804 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/7.161, allocations: 170.9 kB / 3.804 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/7.161, allocations: 0 / 3.804 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/7.161, allocations: 365.3 kB / 3.804 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/7.162, allocations: 220.8 kB / 3.804 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/7.162, allocations: 380.2 kB / 3.805 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/7.163, allocations: 355.5 kB / 3.805 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/7.163, allocations: 3.562 kB / 3.805 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003063/7.166, allocations: 1.122 MB / 3.806 GB, free: 128 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003095/7.167, allocations: 1.748 MB / 3.808 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/7.167, allocations: 3.625 kB / 3.808 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/7.168, allocations: 308 kB / 3.808 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005115/7.169, allocations: 147 kB / 3.808 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/7.17, allocations: 1.025 MB / 3.809 GB, free: 125.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000888/7.171, allocations: 89.03 kB / 3.809 GB, free: 125.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/7.171, allocations: 43.31 kB / 3.809 GB, free: 125.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.457e-06/7.171, allocations: 7.25 kB / 3.81 GB, free: 125.7 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001991/7.173, allocations: 0.7459 MB / 3.81 GB, free: 125.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/7.173, allocations: 4.438 kB / 3.81 GB, free: 125.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/7.175, allocations: 304.2 kB / 3.811 GB, free: 125.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/7.175, allocations: 145.2 kB / 3.811 GB, free: 125.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/7.177, allocations: 0.9385 MB / 3.812 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007516/7.177, allocations: 74.41 kB / 3.812 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/7.177, allocations: 38.75 kB / 3.812 GB, free: 125.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0002098/7.178, allocations: 123.8 kB / 3.812 GB, free: 125 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007199/7.178, allocations: 274 kB / 3.812 GB, free: 125 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/7.181, allocations: 2.595 MB / 3.815 GB, free: 124.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/7.181, allocations: 39.36 kB / 3.815 GB, free: 124.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/7.181, allocations: 0 / 3.815 GB, free: 124.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/7.182, allocations: 0 / 3.815 GB, free: 124.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/7.185, allocations: 3.48 MB / 3.818 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/7.185, allocations: 0 / 3.818 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007411/7.186, allocations: 154 kB / 3.818 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/7.186, allocations: 68.77 kB / 3.818 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/7.186, allocations: 16.19 kB / 3.818 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005039/7.187, allocations: 1.214 MB / 3.819 GB, free: 123.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/7.187, allocations: 0 / 3.819 GB, free: 123.3 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003226/7.19, allocations: 2.709 MB / 3.822 GB, free: 123 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004166/7.194, allocations: 3.761 MB / 3.826 GB, free: 122.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004555/7.195, allocations: 268.2 kB / 3.826 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/7.195, allocations: 6.594 kB / 3.826 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006054/7.195, allocations: 72.17 kB / 3.826 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/7.196, allocations: 61.55 kB / 3.826 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-05/7.196, allocations: 30.78 kB / 3.826 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.000382/7.196, allocations: 332.5 kB / 3.827 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007685/7.204, allocations: 1.693 MB / 3.828 GB, free: 122.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 19 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007591/7.211, allocations: 1.912 MB / 3.83 GB, free: 121.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002623/7.214, allocations: 1.596 MB / 3.832 GB, free: 121.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/7.214, allocations: 0 / 3.832 GB, free: 121.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/7.215, allocations: 1.108 MB / 3.833 GB, free: 121.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/7.217, allocations: 258.7 kB / 3.833 GB, free: 121.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/7.219, allocations: 1.884 MB / 3.835 GB, free: 121.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005965/7.22, allocations: 1.16 MB / 3.836 GB, free: 120.8 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/7.22, allocations: 0 / 3.836 GB, free: 120.8 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1)