Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.WaterComponents.TestMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixer",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.0009095/0.0009096, allocations: 182.4 kB / 8.135 MB, free: 2.215 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.028/1.028, allocations: 205.2 MB / 213.7 MB, free: 13.93 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.0008423/0.0008425, allocations: 91.73 kB / 261.8 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2924/0.2924, allocations: 48.75 MB / 358.4 MB, free: 53.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09112/0.3836, allocations: 66.37 MB / 424.8 MB, free: 8.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09642/0.48, allocations: 60.26 MB / 485.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.416/4.896, allocations: 2.993 GB / 3.466 GB, free: 60.41 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/4.896, allocations: 75.97 kB / 3.466 GB, free: 60.34 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 1.221/6.117, allocations: 455 MB / 3.911 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/6.117, allocations: 12 kB / 3.911 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006367/6.118, allocations: 120.2 kB / 3.911 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008865/6.119, allocations: 478.8 kB / 3.911 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/6.119, allocations: 16 kB / 3.911 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.358e-05/6.119, allocations: 31.91 kB / 3.911 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005482/6.119, allocations: 317.9 kB / 3.912 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/6.12, allocations: 0.5288 MB / 3.912 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/6.12, allocations: 7.609 kB / 3.912 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/6.12, allocations: 4 kB / 3.912 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/6.12, allocations: 12 kB / 3.912 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/6.123, allocations: 2.71 MB / 3.915 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/6.123, allocations: 149.6 kB / 3.915 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/6.123, allocations: 116.8 kB / 3.915 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2437/6.367, allocations: 32 MB / 3.946 GB, free: 76.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/6.367, allocations: 39.5 kB / 3.946 GB, free: 76.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.996e-06/6.367, allocations: 0 / 3.946 GB, free: 76.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.00374/6.371, allocations: 1.115 MB / 3.948 GB, free: 75.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/6.371, allocations: 105.6 kB / 3.948 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/6.371, allocations: 274.3 kB / 3.948 GB, free: 75.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/6.371, allocations: 25.7 kB / 3.948 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/6.371, allocations: 233.2 kB / 3.948 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.176e-05/6.371, allocations: 109 kB / 3.948 GB, free: 75.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/6.371, allocations: 0 / 3.948 GB, free: 75.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/6.371, allocations: 356.8 kB / 3.949 GB, free: 75.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/6.372, allocations: 104.8 kB / 3.949 GB, free: 75.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/6.372, allocations: 167.3 kB / 3.949 GB, free: 75.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/6.372, allocations: 132.6 kB / 3.949 GB, free: 75.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/6.372, allocations: 0 / 3.949 GB, free: 75.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002057/6.374, allocations: 0.679 MB / 3.95 GB, free: 74.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/6.374, allocations: 0.5315 MB / 3.95 GB, free: 74.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/6.374, allocations: 3.812 kB / 3.95 GB, free: 74.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/6.376, allocations: 317.4 kB / 3.95 GB, free: 74.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/6.376, allocations: 33.05 kB / 3.951 GB, free: 74.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/6.377, allocations: 1.52 MB / 3.952 GB, free: 73.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/6.378, allocations: 49.61 kB / 3.952 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/6.378, allocations: 15.25 kB / 3.952 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/6.378, allocations: 3.344 kB / 3.952 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001546/6.379, allocations: 497.6 kB / 3.953 GB, free: 73.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/6.379, allocations: 7.891 kB / 3.953 GB, free: 73.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/6.381, allocations: 278.1 kB / 3.953 GB, free: 73.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/6.381, allocations: 44.19 kB / 3.953 GB, free: 73.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/6.382, allocations: 1.415 MB / 3.954 GB, free: 72.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/6.382, allocations: 44.16 kB / 3.954 GB, free: 72.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/6.382, allocations: 20.84 kB / 3.954 GB, free: 72.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (header.fluidState.phase,pressDrop.state.phase,mixer.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 12,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001238/6.383, allocations: 118.8 kB / 3.954 GB, free: 72.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/6.383, allocations: 134.8 kB / 3.955 GB, free: 72.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/6.384, allocations: 1.086 MB / 3.956 GB, free: 72 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/6.384, allocations: 10.95 kB / 3.956 GB, free: 72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/6.384, allocations: 0 / 3.956 GB, free: 72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/6.384, allocations: 0 / 3.956 GB, free: 72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/6.387, allocations: 1.757 MB / 3.957 GB, free: 71.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/6.387, allocations: 0 / 3.957 GB, free: 71.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/6.387, allocations: 56.12 kB / 3.957 GB, free: 71.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005977/6.387, allocations: 156 kB / 3.958 GB, free: 71.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/6.388, allocations: 6.5 kB / 3.958 GB, free: 71.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/6.389, allocations: 2.537 MB / 3.96 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/6.389, allocations: 0 / 3.96 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001719/6.391, allocations: 1.256 MB / 3.961 GB, free: 69.03 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002155/6.393, allocations: 1.953 MB / 3.963 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/6.393, allocations: 115.5 kB / 3.963 GB, free: 68.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/6.393, allocations: 3.891 kB / 3.963 GB, free: 68.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/6.394, allocations: 35.72 kB / 3.963 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/6.394, allocations: 21.27 kB / 3.963 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/6.394, allocations: 21.34 kB / 3.963 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001716/6.394, allocations: 207.8 kB / 3.964 GB, free: 68.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00635/6.4, allocations: 1.221 MB / 3.965 GB, free: 68.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mixer.p,mixer.h,header.p,header.h) * Number of discrete variables: 4 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008463/6.409, allocations: 1.782 MB / 3.966 GB, free: 68.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001627/6.41, allocations: 0.7918 MB / 3.967 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/6.41, allocations: 2.812 kB / 3.967 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000886/6.411, allocations: 0.6097 MB / 3.968 GB, free: 68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/6.412, allocations: 206.1 kB / 3.968 GB, free: 68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/6.414, allocations: 1.117 MB / 3.969 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/6.415, allocations: 0.9426 MB / 3.97 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/6.415, allocations: 0 / 3.97 GB, free: 67.04 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestMixer_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestMixer.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1)