Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",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.001043/0.001043, allocations: 198.6 kB / 8.539 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 225.5 MB / 234.4 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009138/0.0009139, allocations: 95.88 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1718/0.1718, allocations: 45.14 MB / 383.3 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1989/0.3708, allocations: 69.37 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08338/0.4541, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.197/4.651, allocations: 2.756 GB / 3.26 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/4.651, allocations: 90.39 kB / 3.26 GB, free: 155.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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.678/5.329, allocations: 210.7 MB / 3.465 GB, free: 89.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/5.329, allocations: 11.91 kB / 3.465 GB, free: 89.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/5.331, allocations: 198.2 kB / 3.466 GB, free: 89.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/5.331, allocations: 271.4 kB / 3.466 GB, free: 89.24 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/5.331, allocations: 16.78 kB / 3.466 GB, free: 89.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/5.331, allocations: 19.66 kB / 3.466 GB, free: 89.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00061/5.332, allocations: 480.9 kB / 3.466 GB, free: 89.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/5.332, allocations: 382.6 kB / 3.467 GB, free: 89.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/5.332, allocations: 0 / 3.467 GB, free: 89.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/5.333, allocations: 0 / 3.467 GB, free: 89.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/5.333, allocations: 7.938 kB / 3.467 GB, free: 89.08 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9587/6.291, allocations: 269.7 MB / 3.73 GB, free: 124.1 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/6.291, allocations: 78.09 kB / 3.73 GB, free: 124.1 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/6.291, allocations: 31.25 kB / 3.73 GB, free: 124.1 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1097/6.401, allocations: 49.89 MB / 3.779 GB, free: 83.47 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/6.401, allocations: 117.3 kB / 3.779 GB, free: 83.38 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/6.401, allocations: 4 kB / 3.779 GB, free: 83.38 MB / 0.5418 GB Notification: Performance of matching and sorting (n=13): time 0.001944/6.403, allocations: 481.9 kB / 3.78 GB, free: 83.1 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/6.403, allocations: 77.11 kB / 3.78 GB, free: 83.01 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/6.404, allocations: 217.5 kB / 3.78 GB, free: 82.85 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/6.404, allocations: 34.94 kB / 3.78 GB, free: 82.81 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/6.404, allocations: 243.2 kB / 3.78 GB, free: 82.63 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/6.404, allocations: 51.56 kB / 3.78 GB, free: 82.6 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/6.404, allocations: 1.969 kB / 3.78 GB, free: 82.6 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 5.053e-05/6.404, allocations: 332.8 kB / 3.78 GB, free: 82.28 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.445e-05/6.404, allocations: 55.48 kB / 3.781 GB, free: 82.24 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/6.404, allocations: 324.5 kB / 3.781 GB, free: 81.85 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/6.405, allocations: 118.9 kB / 3.781 GB, free: 81.77 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/6.405, allocations: 4 kB / 3.781 GB, free: 81.77 MB / 0.5418 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002252/6.407, allocations: 0.7803 MB / 3.782 GB, free: 81.33 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/6.407, allocations: 8 kB / 3.782 GB, free: 81.32 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/6.407, allocations: 11.38 kB / 3.782 GB, free: 81.32 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/6.407, allocations: 12 kB / 3.782 GB, free: 81.3 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/6.408, allocations: 137.6 kB / 3.782 GB, free: 81.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004455/6.408, allocations: 1.199 MB / 3.783 GB, free: 79.99 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/6.408, allocations: 17.45 kB / 3.783 GB, free: 79.97 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/6.409, allocations: 35.44 kB / 3.783 GB, free: 79.95 MB / 0.5418 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001358/6.409, allocations: 139.1 kB / 3.783 GB, free: 79.83 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000765/6.409, allocations: 257.9 kB / 3.783 GB, free: 79.7 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009685/6.41, allocations: 0.8223 MB / 3.784 GB, free: 79.22 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/6.41, allocations: 10.69 kB / 3.784 GB, free: 79.21 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/6.41, allocations: 10.14 kB / 3.784 GB, free: 79.21 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/6.41, allocations: 0 / 3.784 GB, free: 79.21 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/6.411, allocations: 403.4 kB / 3.785 GB, free: 78.93 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/6.411, allocations: 3.906 kB / 3.785 GB, free: 78.93 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/6.411, allocations: 26.38 kB / 3.785 GB, free: 78.91 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/6.411, allocations: 164.2 kB / 3.785 GB, free: 78.8 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/6.411, allocations: 4 kB / 3.785 GB, free: 78.8 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005155/6.412, allocations: 1.375 MB / 3.786 GB, free: 77.54 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/6.412, allocations: 4.031 kB / 3.786 GB, free: 77.53 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001216/6.413, allocations: 0.7299 MB / 3.787 GB, free: 77.09 MB / 0.5418 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0014/6.414, allocations: 1.182 MB / 3.788 GB, free: 76.27 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/6.414, allocations: 163.2 kB / 3.788 GB, free: 76.14 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.822e-05/6.415, allocations: 0 / 3.788 GB, free: 76.14 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/6.415, allocations: 4 kB / 3.788 GB, free: 76.13 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/6.415, allocations: 10.81 kB / 3.788 GB, free: 76.13 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/6.415, allocations: 7.516 kB / 3.788 GB, free: 76.12 MB / 0.5418 GB Notification: Performance of sort global known variables: time 0.00018/6.415, allocations: 216.1 kB / 3.788 GB, free: 75.96 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.006777/6.422, allocations: 1.874 MB / 3.79 GB, free: 74.67 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01005/6.432, allocations: 2.314 MB / 3.793 GB, free: 72.82 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0008013/6.433, allocations: 377.5 kB / 3.793 GB, free: 72.56 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/6.433, allocations: 5.531 kB / 3.793 GB, free: 72.56 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0002909/6.433, allocations: 267.4 kB / 3.793 GB, free: 72.32 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/6.433, allocations: 44.58 kB / 3.793 GB, free: 72.29 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1793/6.613, allocations: 82.14 MB / 3.873 GB, free: 6.094 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/6.613, allocations: 0.8497 MB / 3.874 GB, free: 5.215 MB / 0.5418 GB Notification: Performance of SimCode: time 6.81e-07/6.613, allocations: 0 / 3.874 GB, free: 5.215 MB / 0.5418 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1)