Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",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.001531/0.001531, allocations: 207.9 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009298/0.0009298, allocations: 94.25 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1686/0.1686, allocations: 45.15 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1845/0.3531, allocations: 69.38 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0797/0.4328, allocations: 63.23 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.559/8.992, allocations: 6.132 GB / 6.636 GB, free: 123 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/8.992, allocations: 83.78 kB / 6.636 GB, free: 122.9 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.7946/9.787, allocations: 259.1 MB / 6.889 GB, free: 72.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/9.787, allocations: 12 kB / 6.889 GB, free: 72.22 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/9.787, allocations: 35.61 kB / 6.889 GB, free: 72.19 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/9.788, allocations: 242.7 kB / 6.889 GB, free: 71.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/9.788, allocations: 12 kB / 6.889 GB, free: 71.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/9.788, allocations: 12 kB / 6.889 GB, free: 71.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000765/9.788, allocations: 0.86 MB / 6.89 GB, free: 71.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/9.789, allocations: 476 kB / 6.89 GB, free: 70.53 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/9.789, allocations: 3.938 kB / 6.89 GB, free: 70.53 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/9.789, allocations: 7.906 kB / 6.89 GB, free: 70.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/9.789, allocations: 24.64 kB / 6.89 GB, free: 70.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/9.792, allocations: 3.905 MB / 6.894 GB, free: 66.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/9.792, allocations: 106.6 kB / 6.894 GB, free: 65.94 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.906e-05/9.792, allocations: 40.86 kB / 6.894 GB, free: 65.89 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01242/9.804, allocations: 14.82 MB / 6.909 GB, free: 48.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/9.805, allocations: 119.3 kB / 6.909 GB, free: 47.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 2.004e-06/9.805, allocations: 0 / 6.909 GB, free: 47.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.001373/9.806, allocations: 311.4 kB / 6.909 GB, free: 47.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.521e-05/9.806, allocations: 55.41 kB / 6.909 GB, free: 47.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/9.806, allocations: 235.9 kB / 6.91 GB, free: 47.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/9.806, allocations: 25.7 kB / 6.91 GB, free: 47.35 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/9.806, allocations: 250.3 kB / 6.91 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/9.806, allocations: 63.19 kB / 6.91 GB, free: 47.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/9.806, allocations: 0 / 6.91 GB, free: 47.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.502e-05/9.806, allocations: 342.8 kB / 6.91 GB, free: 46.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/9.807, allocations: 73.3 kB / 6.91 GB, free: 46.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/9.807, allocations: 341.2 kB / 6.911 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/9.808, allocations: 254 kB / 6.911 GB, free: 45.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/9.808, allocations: 0 / 6.911 GB, free: 45.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001674/9.81, allocations: 0.5171 MB / 6.911 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/9.81, allocations: 12.03 kB / 6.911 GB, free: 45.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/9.81, allocations: 8 kB / 6.911 GB, free: 45.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/9.81, allocations: 16 kB / 6.911 GB, free: 45.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/9.81, allocations: 179.6 kB / 6.912 GB, free: 45.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005373/9.811, allocations: 1.215 MB / 6.913 GB, free: 43.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/9.811, allocations: 12 kB / 6.913 GB, free: 43.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/9.811, allocations: 43.98 kB / 6.913 GB, free: 43.86 MB / 0.5261 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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.0001371/9.811, allocations: 132.6 kB / 6.913 GB, free: 43.72 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/9.812, allocations: 27.83 kB / 6.913 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006222/9.812, allocations: 251 kB / 6.913 GB, free: 43.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/9.812, allocations: 4 kB / 6.913 GB, free: 43.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/9.812, allocations: 0 / 6.913 GB, free: 43.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/9.812, allocations: 0 / 6.913 GB, free: 43.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/9.813, allocations: 0.4956 MB / 6.914 GB, free: 42.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/9.813, allocations: 0 / 6.914 GB, free: 42.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/9.813, allocations: 83.69 kB / 6.914 GB, free: 42.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/9.813, allocations: 0 / 6.914 GB, free: 42.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/9.813, allocations: 4 kB / 6.914 GB, free: 42.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000403/9.814, allocations: 1.196 MB / 6.915 GB, free: 41.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/9.814, allocations: 0 / 6.915 GB, free: 41.59 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004945/9.814, allocations: 289.6 kB / 6.915 GB, free: 41.28 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008347/9.815, allocations: 0.7668 MB / 6.916 GB, free: 40.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/9.815, allocations: 136.8 kB / 6.916 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/9.815, allocations: 4 kB / 6.916 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/9.816, allocations: 7.812 kB / 6.916 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/9.816, allocations: 23.97 kB / 6.916 GB, free: 40.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/9.816, allocations: 8 kB / 6.916 GB, free: 40.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001033/9.816, allocations: 156.5 kB / 6.916 GB, free: 40.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007575/9.823, allocations: 2.326 MB / 6.918 GB, free: 37.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.01074/9.834, allocations: 2.929 MB / 6.921 GB, free: 35.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008054/9.835, allocations: 285.8 kB / 6.922 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/9.835, allocations: 0 / 6.922 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000374/9.835, allocations: 103.4 kB / 6.922 GB, free: 34.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/9.836, allocations: 39.8 kB / 6.922 GB, free: 34.63 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6543/10.49, allocations: 244.2 MB / 7.16 GB, free: 40.63 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1491/10.64, allocations: 0.8278 MB / 7.161 GB, free: 118 MB / 0.5261 GB Notification: Performance of SimCode: time 8.01e-07/10.64, allocations: 1.5 kB / 7.161 GB, free: 118 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1)