Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder") translateModel(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder") [: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.3+maint.om/package.mo): time 0.003092/0.003092, allocations: 185.2 kB / 7.459 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008583/0.0008582, allocations: 89.55 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06196/0.06196, allocations: 10.87 MB / 319.9 MB, free: 2.625 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.0241/0.0241, allocations: 4.15 MB / 374.2 MB, free: 79.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.945e-06/7.955e-06, allocations: 0 / 431.7 MB, free: 21.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1005, allocations: 50.76 MB / 482.4 MB, free: 3.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2791/0.3797, allocations: 78.68 MB / 0.5479 GB, free: 9.035 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.38, allocations: 55.98 kB / 0.548 GB, free: 8.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03789/0.4179, allocations: 12.19 MB / 0.5599 GB, free: 12.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.4179, allocations: 0 / 0.5599 GB, free: 12.96 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001661/0.4196, allocations: 0.6279 MB / 0.5605 GB, free: 12.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4196, allocations: 8.031 kB / 0.5605 GB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.884e-05/0.4197, allocations: 15.81 kB / 0.5605 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.4201, allocations: 242.7 kB / 0.5608 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.4201, allocations: 4 kB / 0.5608 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.4202, allocations: 15.98 kB / 0.5608 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005634/0.4208, allocations: 327.9 kB / 0.5611 GB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.4213, allocations: 310.4 kB / 0.5614 GB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4213, allocations: 3.938 kB / 0.5614 GB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.4213, allocations: 0 / 0.5614 GB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.4214, allocations: 12 kB / 0.5614 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.424, allocations: 0.9935 MB / 0.5624 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.4243, allocations: 206.5 kB / 0.5626 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.4245, allocations: 140.8 kB / 0.5627 GB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.4246, allocations: 15.98 kB / 0.5627 GB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003201/0.4249, allocations: 222 kB / 0.5629 GB, free: 9.707 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/0.4249, allocations: 0 / 0.5629 GB, free: 9.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005959/0.4255, allocations: 321.6 kB / 0.5632 GB, free: 9.387 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.4256, allocations: 55.41 kB / 0.5633 GB, free: 9.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.4258, allocations: 163 kB / 0.5635 GB, free: 9.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.4258, allocations: 25.7 kB / 0.5635 GB, free: 9.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.445e-05/0.4259, allocations: 139.8 kB / 0.5636 GB, free: 8.984 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.782e-05/0.426, allocations: 59.25 kB / 0.5637 GB, free: 8.926 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.426, allocations: 0 / 0.5637 GB, free: 8.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4261, allocations: 330.8 kB / 0.564 GB, free: 8.594 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.4264, allocations: 187.7 kB / 0.5642 GB, free: 8.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.4267, allocations: 269.9 kB / 0.5644 GB, free: 8.113 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.427, allocations: 216 kB / 0.5646 GB, free: 7.902 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4271, allocations: 0 / 0.5646 GB, free: 7.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007296/0.4278, allocations: 497 kB / 0.5651 GB, free: 7.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4278, allocations: 4 kB / 0.5651 GB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4278, allocations: 4.344 kB / 0.5651 GB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4279, allocations: 8 kB / 0.5651 GB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000723/0.4286, allocations: 114.5 kB / 0.5652 GB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.4286, allocations: 7.984 kB / 0.5652 GB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.429, allocations: 47.66 kB / 0.5653 GB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.4291, allocations: 23.89 kB / 0.5653 GB, free: 7.211 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001221/0.4292, allocations: 121.4 kB / 0.5654 GB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.4292, allocations: 15.81 kB / 0.5654 GB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.091e-05/0.4293, allocations: 40.55 kB / 0.5655 GB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4294, allocations: 0 / 0.5655 GB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4294, allocations: 0 / 0.5655 GB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4294, allocations: 0 / 0.5655 GB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.4298, allocations: 357.8 kB / 0.5658 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4298, allocations: 0 / 0.5658 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006241/0.4304, allocations: 75.89 kB / 0.5659 GB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4304, allocations: 0 / 0.5659 GB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.4305, allocations: 15.89 kB / 0.5659 GB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4305, allocations: 0 / 0.5659 GB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4305, allocations: 1.219 kB / 0.5659 GB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007119/0.4312, allocations: 0.4927 MB / 0.5664 GB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.4313, allocations: 92.94 kB / 0.5665 GB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.168e-05/0.4314, allocations: 8 kB / 0.5665 GB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.4317, allocations: 27.95 kB / 0.5665 GB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.363e-05/0.4318, allocations: 27.31 kB / 0.5665 GB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.4318, allocations: 15.91 kB / 0.5665 GB, free: 5.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001209/0.432, allocations: 124.1 kB / 0.5667 GB, free: 5.738 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003333/0.4323, allocations: 52 kB / 0.5667 GB, free: 5.688 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (transport.u[1,1],transport.u[1,2],transport.u[2,1],transport.u[2,2],transport.u[3,1],transport.u[3,2],transport.u[4,1],transport.u[4,2],transport.u[5,1],transport.u[5,2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001669/0.4325, allocations: 111.3 kB / 0.5668 GB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006257/0.4331, allocations: 409.9 kB / 0.5672 GB, free: 5.164 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4331, allocations: 3.594 kB / 0.5672 GB, free: 5.164 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.4334, allocations: 155.9 kB / 0.5674 GB, free: 5.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.4336, allocations: 19.11 kB / 0.5674 GB, free: 4.996 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009124/0.4345, allocations: 467.5 kB / 0.5678 GB, free: 4.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005422/0.435, allocations: 0.7744 MB / 0.5686 GB, free: 3.711 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4351, allocations: 0 / 0.5686 GB, free: 3.711 MB / 362.7 MB Notification: Performance of Templates: time 0.006981/0.442, allocations: 3.483 MB / 0.572 GB, free: 276 kB / 362.7 MB make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.makefile (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.sim & ./TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe 2>&1)