Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") [: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.1+maint.om/package.mo): time 0.004187/0.004187, allocations: 178.5 kB / 7.454 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.498/1.498, allocations: 170.6 MB / 178.4 MB, free: 15.41 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001754/0.001754, allocations: 103.9 kB / 217.7 MB, free: 8.176 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1804/0.1804, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.049e-05/1.065e-05, allocations: 1.156 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1268, allocations: 48.71 MB / 398.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.5814, allocations: 183.6 MB / 0.5681 GB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/0.5818, allocations: 77.33 kB / 0.5682 GB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1198/0.7016, allocations: 42.7 MB / 0.6099 GB, free: 8.676 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.88e-05/0.7017, allocations: 4 kB / 0.6099 GB, free: 8.672 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002125/0.7039, allocations: 0.6185 MB / 0.6105 GB, free: 8.008 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/0.704, allocations: 8.031 kB / 0.6105 GB, free: 8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.7045, allocations: 39.78 kB / 0.6106 GB, free: 7.961 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.705, allocations: 214.8 kB / 0.6108 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.705, allocations: 8 kB / 0.6108 GB, free: 7.703 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.7051, allocations: 8 kB / 0.6108 GB, free: 7.695 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004054/0.7055, allocations: 211.8 kB / 0.611 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.7059, allocations: 208.8 kB / 0.6112 GB, free: 7.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.7059, allocations: 0 / 0.6112 GB, free: 7.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.7059, allocations: 0 / 0.6112 GB, free: 7.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.706, allocations: 7.906 kB / 0.6112 GB, free: 7.242 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002532/0.7085, allocations: 2.406 MB / 0.6136 GB, free: 4.477 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.7086, allocations: 49.66 kB / 0.6136 GB, free: 4.422 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.7087, allocations: 28.84 kB / 0.6136 GB, free: 4.391 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003726/0.7091, allocations: 340.4 kB / 0.614 GB, free: 3.984 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.7093, allocations: 114 kB / 0.6141 GB, free: 3.852 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.7093, allocations: 0 / 0.6141 GB, free: 3.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.001155/0.7105, allocations: 216.4 kB / 0.6143 GB, free: 3.633 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.7106, allocations: 106.8 kB / 0.6144 GB, free: 3.504 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.7108, allocations: 147 kB / 0.6145 GB, free: 3.352 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.7108, allocations: 33.77 kB / 0.6145 GB, free: 3.312 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.7109, allocations: 159.4 kB / 0.6147 GB, free: 3.152 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.711, allocations: 51.34 kB / 0.6147 GB, free: 3.102 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.711, allocations: 0 / 0.6147 GB, free: 3.102 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.7112, allocations: 322.8 kB / 0.615 GB, free: 2.777 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.7113, allocations: 28 kB / 0.6151 GB, free: 2.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.7114, allocations: 179.2 kB / 0.6152 GB, free: 2.504 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009971/0.7124, allocations: 143.8 kB / 0.6154 GB, free: 2.363 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.7125, allocations: 4 kB / 0.6154 GB, free: 2.359 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001209/0.7137, allocations: 297.1 kB / 0.6157 GB, free: 2.062 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.7137, allocations: 8 kB / 0.6157 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.7137, allocations: 8 kB / 0.6157 GB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.7138, allocations: 8 kB / 0.6157 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/0.7144, allocations: 99.86 kB / 0.6158 GB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004652/0.7149, allocations: 0.6059 MB / 0.6164 GB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.7151, allocations: 7.984 kB / 0.6164 GB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.7152, allocations: 16 kB / 0.6164 GB, free: 1.289 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.7153, allocations: 124.6 kB / 0.6165 GB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.7153, allocations: 15.81 kB / 0.6165 GB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/0.716, allocations: 272.9 kB / 0.6168 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.716, allocations: 7.906 kB / 0.6168 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.7161, allocations: 0 / 0.6168 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.7161, allocations: 0 / 0.6168 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006554/0.7167, allocations: 379.9 kB / 0.6172 GB, free: 448 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.7167, allocations: 8.016 kB / 0.6172 GB, free: 440 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.7171, allocations: 51.95 kB / 0.6172 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.7172, allocations: 3.906 kB / 0.6172 GB, free: 384 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.7172, allocations: 4 kB / 0.6172 GB, free: 380 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1996/0.9168, allocations: 0.5919 MB / 0.6178 GB, free: 191.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/0.9169, allocations: 3.75 kB / 0.6178 GB, free: 191.1 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005836/0.9175, allocations: 225.7 kB / 0.618 GB, free: 190.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.9177, allocations: 124.2 kB / 0.6181 GB, free: 190.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.9178, allocations: 3.875 kB / 0.6182 GB, free: 190.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.918, allocations: 0 / 0.6182 GB, free: 190.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.9181, allocations: 16.22 kB / 0.6182 GB, free: 190.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.9181, allocations: 7.297 kB / 0.6182 GB, free: 190.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001137/0.9182, allocations: 115.7 kB / 0.6183 GB, free: 190.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009939/0.9192, allocations: 181 kB / 0.6185 GB, free: 190.8 MB / 426.7 MB 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007915/0.92, allocations: 343.9 kB / 0.6188 GB, free: 190.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004754/0.9205, allocations: 137.1 kB / 0.6189 GB, free: 190.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.9205, allocations: 3.906 kB / 0.6189 GB, free: 190.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.9207, allocations: 44.78 kB / 0.619 GB, free: 190.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.921, allocations: 24.03 kB / 0.619 GB, free: 190.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/0.9476, allocations: 10.94 MB / 0.6297 GB, free: 190.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/0.9481, allocations: 0.7547 MB / 0.6304 GB, free: 189.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.843e-06/0.9481, allocations: 2.875 kB / 0.6304 GB, free: 189.7 MB / 426.7 MB Notification: Performance of Templates: time 0.01116/0.9593, allocations: 4.872 MB / 0.6352 GB, free: 189.4 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1)