Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.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.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",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.001624/0.001624, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009708/0.0009711, allocations: 95.23 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1808/0.1808, allocations: 45.14 MB / 383.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2339/0.4147, allocations: 69.38 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.5184, allocations: 63.25 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.464/4.982, allocations: 2.804 GB / 3.308 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/4.982, allocations: 92.42 kB / 3.308 GB, free: 114.7 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 1.343/6.325, allocations: 462.7 MB / 3.76 GB, free: 47.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/6.325, allocations: 9.016 kB / 3.76 GB, free: 47.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/6.329, allocations: 468.9 kB / 3.76 GB, free: 47.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/6.332, allocations: 0.9882 MB / 3.761 GB, free: 46.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/6.332, allocations: 51.22 kB / 3.761 GB, free: 46.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003879/6.332, allocations: 77.92 kB / 3.761 GB, free: 46.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002475/6.335, allocations: 0.9592 MB / 3.762 GB, free: 46.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/6.338, allocations: 1.237 MB / 3.763 GB, free: 45.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.073e-05/6.338, allocations: 7.719 kB / 3.763 GB, free: 45.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/6.338, allocations: 10.69 kB / 3.764 GB, free: 45.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.273e-05/6.338, allocations: 44.91 kB / 3.764 GB, free: 45.76 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3748/6.713, allocations: 97.75 MB / 3.859 GB, free: 88.22 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/6.713, allocations: 347.4 kB / 3.859 GB, free: 88.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/6.714, allocations: 269.9 kB / 3.86 GB, free: 88.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03053/6.744, allocations: 19.02 MB / 3.878 GB, free: 75.75 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/6.744, allocations: 52.12 kB / 3.878 GB, free: 75.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=63): time 2.274e-06/6.744, allocations: 0 / 3.878 GB, free: 75.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=66): time 0.006706/6.751, allocations: 2.081 MB / 3.88 GB, free: 75.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/6.751, allocations: 138.4 kB / 3.88 GB, free: 75.12 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/6.752, allocations: 0.7466 MB / 3.881 GB, free: 74.96 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/6.752, allocations: 29.55 kB / 3.881 GB, free: 74.93 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/6.752, allocations: 0.604 MB / 3.882 GB, free: 74.63 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/6.753, allocations: 231.7 kB / 3.882 GB, free: 74.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/6.753, allocations: 0 / 3.882 GB, free: 74.52 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.191e-05/6.753, allocations: 350.5 kB / 3.882 GB, free: 74.21 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/6.753, allocations: 282.8 kB / 3.883 GB, free: 74.21 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/6.754, allocations: 0.7112 MB / 3.883 GB, free: 73.65 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/6.755, allocations: 494 kB / 3.884 GB, free: 73.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/6.755, allocations: 3.125 kB / 3.884 GB, free: 73.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003347/6.758, allocations: 1.485 MB / 3.885 GB, free: 73.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001037/6.76, allocations: 5.649 MB / 3.891 GB, free: 67.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/6.76, allocations: 15.31 kB / 3.891 GB, free: 67.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/6.76, allocations: 158.7 kB / 3.891 GB, free: 67.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009882/6.761, allocations: 292.7 kB / 3.891 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/6.762, allocations: 0.8646 MB / 3.892 GB, free: 67.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/6.764, allocations: 117.7 kB / 3.892 GB, free: 67.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/6.764, allocations: 70.44 kB / 3.892 GB, free: 67.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.904e-06/6.764, allocations: 7.875 kB / 3.892 GB, free: 67.01 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002861/6.767, allocations: 1.083 MB / 3.893 GB, free: 66.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/6.767, allocations: 14.91 kB / 3.893 GB, free: 66.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007708/6.767, allocations: 167 kB / 3.893 GB, free: 66.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009045/6.768, allocations: 295.4 kB / 3.894 GB, free: 66.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000649/6.769, allocations: 0.7486 MB / 3.894 GB, free: 66.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/6.77, allocations: 100 kB / 3.895 GB, free: 66.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-05/6.77, allocations: 62.64 kB / 3.895 GB, free: 66.42 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.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 (134): * Single equations (assignments): 133 * 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 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002463/6.77, allocations: 156.6 kB / 3.895 GB, free: 66.31 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007823/6.771, allocations: 314.9 kB / 3.895 GB, free: 66.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/6.774, allocations: 2.113 MB / 3.897 GB, free: 66.07 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/6.774, allocations: 28.92 kB / 3.897 GB, free: 66.06 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/6.774, allocations: 0 / 3.897 GB, free: 66.06 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/6.774, allocations: 7.656 kB / 3.897 GB, free: 66.06 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003961/6.778, allocations: 3.358 MB / 3.9 GB, free: 65.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/6.778, allocations: 3.688 kB / 3.9 GB, free: 65.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/6.779, allocations: 127.9 kB / 3.901 GB, free: 65.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009235/6.78, allocations: 0.7034 MB / 3.901 GB, free: 65.55 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/6.78, allocations: 12.41 kB / 3.901 GB, free: 65.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/6.781, allocations: 1.261 MB / 3.902 GB, free: 65.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/6.781, allocations: 3.594 kB / 3.902 GB, free: 65.01 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003136/6.784, allocations: 2.343 MB / 3.905 GB, free: 64.4 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003713/6.788, allocations: 3.198 MB / 3.908 GB, free: 63.42 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005675/6.788, allocations: 339.2 kB / 3.908 GB, free: 63.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/6.789, allocations: 6.938 kB / 3.908 GB, free: 63.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007446/6.789, allocations: 77.06 kB / 3.908 GB, free: 63.24 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/6.79, allocations: 60.44 kB / 3.908 GB, free: 63.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/6.79, allocations: 29 kB / 3.908 GB, free: 63.24 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0008639/6.79, allocations: 0.6886 MB / 3.909 GB, free: 63.13 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007851/6.798, allocations: 1.965 MB / 3.911 GB, free: 63.12 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i,housing.T) * Number of discrete variables: 9 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.008405/6.807, allocations: 2.004 MB / 3.913 GB, free: 62.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002533/6.809, allocations: 1.567 MB / 3.914 GB, free: 62.86 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/6.809, allocations: 0 / 3.914 GB, free: 62.86 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007631/6.81, allocations: 0.6966 MB / 3.915 GB, free: 62.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/6.812, allocations: 341.2 kB / 3.915 GB, free: 62.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/6.816, allocations: 2.28 MB / 3.918 GB, free: 62.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008492/6.817, allocations: 1.379 MB / 3.919 GB, free: 61.33 MB / 0.5417 GB Notification: Performance of SimCode: time 7.01e-07/6.817, allocations: 0 / 3.919 GB, free: 61.33 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1)