Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir.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.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir") [: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.004939/0.004939, allocations: 178.6 kB / 7.451 MB, free: 2.512 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.506/1.506, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001699/0.001699, allocations: 112.4 kB / 217.7 MB, free: 8.156 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.2056/0.2056, allocations: 37.97 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.856e-06/9.007e-06, allocations: 1.344 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1233, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8154/0.9387, allocations: 365.5 MB / 0.7458 GB, free: 26.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.9391, allocations: 63.66 kB / 0.7458 GB, free: 26.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.04797/0.9871, allocations: 20.86 MB / 0.7662 GB, free: 9.465 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.9872, allocations: 0 / 0.7662 GB, free: 9.465 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001179/0.9884, allocations: 0.5708 MB / 0.7668 GB, free: 8.871 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.9884, allocations: 11.97 kB / 0.7668 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.9886, allocations: 27.72 kB / 0.7668 GB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.989, allocations: 237.2 kB / 0.767 GB, free: 8.574 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.9891, allocations: 123.3 kB / 0.7672 GB, free: 8.426 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.9892, allocations: 12 kB / 0.7672 GB, free: 8.414 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007181/0.9899, allocations: 0.7107 MB / 0.7679 GB, free: 7.816 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.9903, allocations: 282.2 kB / 0.7681 GB, free: 7.582 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.9903, allocations: 11.94 kB / 0.7681 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.9903, allocations: 0 / 0.7681 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.9904, allocations: 4 kB / 0.7681 GB, free: 7.566 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.9931, allocations: 3.196 MB / 0.7713 GB, free: 3.992 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.9932, allocations: 65.06 kB / 0.7713 GB, free: 3.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.9933, allocations: 24.2 kB / 0.7714 GB, free: 3.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006516/0.9939, allocations: 0.5245 MB / 0.7719 GB, free: 3.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.994, allocations: 37.94 kB / 0.7719 GB, free: 3.297 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.804e-06/0.994, allocations: 0 / 0.7719 GB, free: 3.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006224/0.9946, allocations: 147.9 kB / 0.772 GB, free: 3.156 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.9946, allocations: 55.31 kB / 0.7721 GB, free: 3.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.9948, allocations: 199.9 kB / 0.7723 GB, free: 2.914 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.9949, allocations: 25.7 kB / 0.7723 GB, free: 2.883 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.771e-05/0.995, allocations: 224.7 kB / 0.7725 GB, free: 2.676 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.995, allocations: 38.55 kB / 0.7726 GB, free: 2.645 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.995, allocations: 0 / 0.7726 GB, free: 2.645 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.9951, allocations: 330.2 kB / 0.7729 GB, free: 2.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/0.9952, allocations: 35.75 kB / 0.7729 GB, free: 2.293 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.9954, allocations: 320.6 kB / 0.7732 GB, free: 1.863 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.9957, allocations: 114.3 kB / 0.7733 GB, free: 1.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.9957, allocations: 0 / 0.7733 GB, free: 1.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000656/0.9964, allocations: 319 kB / 0.7736 GB, free: 1.477 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.9964, allocations: 4 kB / 0.7736 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.9964, allocations: 11.91 kB / 0.7736 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.9965, allocations: 16.09 kB / 0.7737 GB, free: 1.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.9968, allocations: 116.4 kB / 0.7738 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.9968, allocations: 23.92 kB / 0.7738 GB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.9971, allocations: 15.94 kB / 0.7738 GB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.9972, allocations: 23.56 kB / 0.7738 GB, free: 1.277 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.327e-05/0.9973, allocations: 128.5 kB / 0.774 GB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.9973, allocations: 23.72 kB / 0.774 GB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.9976, allocations: 89.75 kB / 0.7741 GB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.9976, allocations: 8 kB / 0.7741 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.9976, allocations: 0 / 0.7741 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.9976, allocations: 0 / 0.7741 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.9981, allocations: 377.1 kB / 0.7744 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.9981, allocations: 0 / 0.7744 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.9982, allocations: 31.72 kB / 0.7745 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.9982, allocations: 4 kB / 0.7745 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.9983, allocations: 0 / 0.7745 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.9983, allocations: 0 / 0.7745 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.9983, allocations: 4.031 kB / 0.7745 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002076/0.9985, allocations: 205.2 kB / 0.7747 GB, free: 408 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.68e-05/0.9986, allocations: 108.8 kB / 0.7748 GB, free: 284 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.9986, allocations: 3.906 kB / 0.7748 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.9989, allocations: 8.172 kB / 0.7748 GB, free: 272 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.9989, allocations: 11.98 kB / 0.7748 GB, free: 260 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.9989, allocations: 11.44 kB / 0.7748 GB, free: 252 kB / 426.7 MB Notification: Performance of sort global known variables: time 9.705e-05/0.999, allocations: 135.5 kB / 0.7749 GB, free: 128 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005351/0.9996, allocations: 91.05 kB / 0.775 GB, free: 40 kB / 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2175/1.217, allocations: 166.5 kB / 0.7752 GB, free: 195.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/1.218, allocations: 155.3 kB / 0.7753 GB, free: 195.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/1.218, allocations: 0 / 0.7753 GB, free: 195.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/1.218, allocations: 33.5 kB / 0.7754 GB, free: 195.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/1.219, allocations: 29.16 kB / 0.7754 GB, free: 195.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007657/1.22, allocations: 183.1 kB / 0.7756 GB, free: 195.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/1.22, allocations: 0.7621 MB / 0.7763 GB, free: 194.7 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/1.22, allocations: 0 / 0.7763 GB, free: 194.7 MB / 426.7 MB Notification: Performance of Templates: time 0.009712/1.23, allocations: 3.104 MB / 0.7793 GB, free: 194.7 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1)