Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 189 kB / 7.801 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001252/0.001251, allocations: 99.94 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.244/0.244, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2764/0.5205, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.949, allocations: 58.84 MB / 476.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.384/8.334, allocations: 2.797 GB / 3.262 GB, free: 67.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003553/8.334, allocations: 86.09 kB / 3.263 GB, free: 67.85 MB / 0.4948 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.83/10.16, allocations: 457.9 MB / 3.71 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/10.16, allocations: 12 kB / 3.71 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005009/10.17, allocations: 461.6 kB / 3.71 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003819/10.17, allocations: 0.9919 MB / 3.711 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/10.17, allocations: 48 kB / 3.711 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005388/10.17, allocations: 79.91 kB / 3.711 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003999/10.18, allocations: 0.9581 MB / 3.712 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004235/10.18, allocations: 1.24 MB / 3.713 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-05/10.18, allocations: 11.89 kB / 3.713 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/10.18, allocations: 4 kB / 3.713 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.034e-05/10.18, allocations: 50.3 kB / 3.714 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5312/10.71, allocations: 86.78 MB / 3.798 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006299/10.71, allocations: 349.1 kB / 3.799 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000442/10.71, allocations: 267.4 kB / 3.799 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03263/10.75, allocations: 16.64 MB / 3.815 GB, free: 33.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/10.75, allocations: 43.16 kB / 3.815 GB, free: 33.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=63): time 3.095e-06/10.75, allocations: 0 / 3.815 GB, free: 33.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66): time 0.007259/10.75, allocations: 2.093 MB / 3.817 GB, free: 32.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/10.75, allocations: 142.8 kB / 3.817 GB, free: 32.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/10.76, allocations: 0.7498 MB / 3.818 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/10.76, allocations: 25.7 kB / 3.818 GB, free: 32.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/10.76, allocations: 0.603 MB / 3.819 GB, free: 32.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/10.76, allocations: 229.3 kB / 3.819 GB, free: 32.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/10.76, allocations: 0 / 3.819 GB, free: 32.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/10.76, allocations: 351.4 kB / 3.819 GB, free: 31.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/10.76, allocations: 282.7 kB / 3.819 GB, free: 31.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/10.76, allocations: 0.7151 MB / 3.82 GB, free: 31.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/10.76, allocations: 493.2 kB / 3.821 GB, free: 31.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/10.76, allocations: 3.219 kB / 3.821 GB, free: 31.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003953/10.76, allocations: 1.48 MB / 3.822 GB, free: 31.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001966/10.77, allocations: 5.654 MB / 3.828 GB, free: 41.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/10.77, allocations: 18.23 kB / 3.828 GB, free: 41.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/10.77, allocations: 153.2 kB / 3.828 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/10.77, allocations: 298.6 kB / 3.828 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/10.77, allocations: 0.853 MB / 3.829 GB, free: 40.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/10.77, allocations: 126.7 kB / 3.829 GB, free: 40.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/10.77, allocations: 64.98 kB / 3.829 GB, free: 40.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/10.77, allocations: 3.438 kB / 3.829 GB, free: 40.58 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003176/10.77, allocations: 1.087 MB / 3.83 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/10.77, allocations: 14.53 kB / 3.83 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008131/10.77, allocations: 168.1 kB / 3.83 GB, free: 40.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009332/10.78, allocations: 289.9 kB / 3.831 GB, free: 40.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009708/10.78, allocations: 0.7526 MB / 3.831 GB, free: 40 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/10.78, allocations: 105.8 kB / 3.831 GB, free: 39.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.811e-05/10.78, allocations: 62.78 kB / 3.832 GB, free: 39.99 MB / 0.5261 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.0003967/10.78, allocations: 156.4 kB / 3.832 GB, free: 39.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009282/10.78, allocations: 320.3 kB / 3.832 GB, free: 39.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003419/10.78, allocations: 2.104 MB / 3.834 GB, free: 39.63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/10.78, allocations: 19.75 kB / 3.834 GB, free: 39.63 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/10.78, allocations: 0 / 3.834 GB, free: 39.63 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/10.78, allocations: 9.422 kB / 3.834 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005628/10.79, allocations: 3.369 MB / 3.837 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/10.79, allocations: 3.281 kB / 3.837 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/10.79, allocations: 127.4 kB / 3.837 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/10.79, allocations: 0.7014 MB / 3.838 GB, free: 39.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.158e-05/10.79, allocations: 11.03 kB / 3.838 GB, free: 39.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/10.79, allocations: 1.263 MB / 3.839 GB, free: 38.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/10.79, allocations: 7.719 kB / 3.839 GB, free: 38.57 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003578/10.8, allocations: 2.335 MB / 3.842 GB, free: 37.96 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004432/10.8, allocations: 3.206 MB / 3.845 GB, free: 36.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000869/10.8, allocations: 342.8 kB / 3.845 GB, free: 36.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/10.8, allocations: 3.594 kB / 3.845 GB, free: 36.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007654/10.8, allocations: 69.42 kB / 3.845 GB, free: 36.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/10.8, allocations: 58.3 kB / 3.845 GB, free: 36.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-05/10.8, allocations: 33.28 kB / 3.845 GB, free: 36.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001019/10.8, allocations: 0.6777 MB / 3.846 GB, free: 36.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01075/10.81, allocations: 1.944 MB / 3.848 GB, free: 36.69 MB / 0.5261 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.01292/10.83, allocations: 1.987 MB / 3.85 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003181/10.83, allocations: 1.566 MB / 3.851 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/10.83, allocations: 0 / 3.851 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/10.83, allocations: 0.7041 MB / 3.852 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/10.83, allocations: 332.6 kB / 3.852 GB, free: 36.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/10.84, allocations: 2.28 MB / 3.855 GB, free: 35.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/10.84, allocations: 1.381 MB / 3.856 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of SimCode: time 1.753e-06/10.84, allocations: 3.391 kB / 3.856 GB, free: 34.89 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1)