Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") [: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.2+maint.om/package.mo): time 0.004082/0.004082, allocations: 179.8 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.386/1.386, allocations: 194.2 MB / 202.1 MB, free: 8.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002099/0.0021, allocations: 128.5 kB / 247.1 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2118/0.2118, allocations: 39.95 MB / 331.9 MB, free: 4.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.376e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1363, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.641/1.778, allocations: 0.6416 GB / 1.079 GB, free: 130.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/1.778, allocations: 80.3 kB / 1.079 GB, free: 130.1 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.1983/1.977, allocations: 108.7 MB / 1.185 GB, free: 21.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.118e-05/1.977, allocations: 0 / 1.185 GB, free: 21.91 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003881/1.981, allocations: 1.064 MB / 1.186 GB, free: 20.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.981, allocations: 8.031 kB / 1.186 GB, free: 20.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007054/1.981, allocations: 79.64 kB / 1.186 GB, free: 20.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/1.982, allocations: 246.7 kB / 1.186 GB, free: 20.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/1.982, allocations: 8 kB / 1.186 GB, free: 20.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/1.982, allocations: 19.94 kB / 1.186 GB, free: 20.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006996/1.983, allocations: 0.5867 MB / 1.187 GB, free: 19.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/1.983, allocations: 353.4 kB / 1.187 GB, free: 19.44 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/1.983, allocations: 3.938 kB / 1.187 GB, free: 19.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/1.983, allocations: 0 / 1.187 GB, free: 19.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/1.983, allocations: 8 kB / 1.187 GB, free: 19.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2824/2.265, allocations: 26.99 MB / 1.214 GB, free: 170.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/2.266, allocations: 75.5 kB / 1.214 GB, free: 170.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.695e-05/2.266, allocations: 24.23 kB / 1.214 GB, free: 170.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01625/2.282, allocations: 6.485 MB / 1.22 GB, free: 168.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003119/2.282, allocations: 101.9 kB / 1.22 GB, free: 168.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 4.288e-06/2.282, allocations: 0 / 1.22 GB, free: 168.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.002038/2.284, allocations: 396.3 kB / 1.22 GB, free: 168.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/2.284, allocations: 53.06 kB / 1.221 GB, free: 168.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/2.285, allocations: 197.4 kB / 1.221 GB, free: 168.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/2.285, allocations: 29.67 kB / 1.221 GB, free: 168.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/2.285, allocations: 236.1 kB / 1.221 GB, free: 167.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/2.285, allocations: 46.81 kB / 1.221 GB, free: 167.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/2.285, allocations: 0 / 1.221 GB, free: 167.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/2.285, allocations: 336.7 kB / 1.221 GB, free: 167.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/2.285, allocations: 55.17 kB / 1.221 GB, free: 167.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/2.285, allocations: 325.8 kB / 1.222 GB, free: 167.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009434/2.286, allocations: 177.8 kB / 1.222 GB, free: 167.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/2.286, allocations: 11.56 kB / 1.222 GB, free: 167.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001678/2.288, allocations: 0.5508 MB / 1.222 GB, free: 167.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/2.288, allocations: 3.812 kB / 1.222 GB, free: 167.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/2.288, allocations: 17.08 kB / 1.222 GB, free: 167.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/2.288, allocations: 45.08 kB / 1.222 GB, free: 167.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/2.289, allocations: 100.9 kB / 1.223 GB, free: 167.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007812/2.289, allocations: 1.261 MB / 1.224 GB, free: 166 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/2.29, allocations: 16.38 kB / 1.224 GB, free: 166 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/2.29, allocations: 26.66 kB / 1.224 GB, free: 166 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.d:DUMMY_DER(fixed = false ) "Density of medium" type: Real $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: 44 * 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 (54): * Single equations (assignments): 52 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002279/2.29, allocations: 137.5 kB / 1.224 GB, free: 165.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/2.29, allocations: 92.83 kB / 1.224 GB, free: 165.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008743/2.291, allocations: 424.1 kB / 1.224 GB, free: 165.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/2.291, allocations: 7.562 kB / 1.224 GB, free: 165.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/2.291, allocations: 0 / 1.224 GB, free: 165.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/2.291, allocations: 0 / 1.224 GB, free: 165.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005961/2.297, allocations: 2.394 MB / 1.227 GB, free: 164.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/2.297, allocations: 3.344 kB / 1.227 GB, free: 164.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.85e-05/2.297, allocations: 20.38 kB / 1.227 GB, free: 164.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/2.298, allocations: 59.73 kB / 1.227 GB, free: 164.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/2.298, allocations: 2.938 kB / 1.227 GB, free: 164.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008049/2.298, allocations: 1.305 MB / 1.228 GB, free: 163.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/2.298, allocations: 0 / 1.228 GB, free: 163.6 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009551/2.299, allocations: 0.5219 MB / 1.229 GB, free: 163.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/2.299, allocations: 129.2 kB / 1.229 GB, free: 163.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/2.3, allocations: 7.828 kB / 1.229 GB, free: 163.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/2.3, allocations: 6.844 kB / 1.229 GB, free: 163.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/2.3, allocations: 19.78 kB / 1.229 GB, free: 163.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/2.3, allocations: 3.25 kB / 1.229 GB, free: 163.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.000163/2.3, allocations: 165.4 kB / 1.229 GB, free: 163.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002079/2.302, allocations: 397.5 kB / 1.229 GB, free: 163.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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): 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002881/2.305, allocations: 0.8204 MB / 1.23 GB, free: 163.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005517/2.306, allocations: 289.8 kB / 1.23 GB, free: 163.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/2.306, allocations: 0 / 1.23 GB, free: 163.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/2.306, allocations: 167.6 kB / 1.231 GB, free: 163.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/2.306, allocations: 33.83 kB / 1.231 GB, free: 163.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2683/2.574, allocations: 176.3 MB / 1.403 GB, free: 28.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/2.575, allocations: 0.8004 MB / 1.404 GB, free: 27.93 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/2.575, allocations: 0 / 1.404 GB, free: 27.93 MB / 474.7 MB Notification: Performance of Templates: time 0.02014/2.595, allocations: 11.4 MB / 1.415 GB, free: 16.77 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1)