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: "" <> buildModelFMU(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_PDE_test_UpwindFirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_PDE_test_UpwindFirstOrder",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 3.2.3+maint.om/package.mo): time 0.00306/0.00306, allocations: 180.4 kB / 7.458 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.077/1.077, 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.0009623/0.0009625, allocations: 92.06 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.05852/0.05852, allocations: 10.86 MB / 319.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01867/0.01867, allocations: 4.149 MB / 374.1 MB, free: 79.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09174/0.1105, allocations: 57.6 MB / 431.7 MB, free: 21.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08797/0.1984, allocations: 50.77 MB / 482.5 MB, free: 3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/0.4243, allocations: 78.67 MB / 0.548 GB, free: 9.008 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000158/0.4245, allocations: 55.14 kB / 0.5481 GB, free: 8.957 MB / 346.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.04102/0.4655, allocations: 12.83 MB / 0.5606 GB, free: 12.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.4656, allocations: 9.5 kB / 0.5606 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.4657, allocations: 15.81 kB / 0.5606 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.4661, allocations: 242.7 kB / 0.5609 GB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.4662, allocations: 4 kB / 0.5609 GB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.423e-05/0.4663, allocations: 12 kB / 0.5609 GB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005588/0.4668, allocations: 327.9 kB / 0.5612 GB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.4674, allocations: 314.3 kB / 0.5615 GB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4674, allocations: 4 kB / 0.5615 GB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.4674, allocations: 0 / 0.5615 GB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/0.4675, allocations: 19.97 kB / 0.5615 GB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.4702, allocations: 0.9857 MB / 0.5625 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.4706, allocations: 214.2 kB / 0.5627 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.4708, allocations: 144.7 kB / 0.5628 GB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.4708, allocations: 4 kB / 0.5628 GB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.4711, allocations: 218.6 kB / 0.563 GB, free: 9.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.965e-06/0.4712, allocations: 0 / 0.563 GB, free: 9.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006215/0.4718, allocations: 321.6 kB / 0.5633 GB, free: 9.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.4718, allocations: 55.41 kB / 0.5634 GB, free: 9.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.472, allocations: 167 kB / 0.5636 GB, free: 9.105 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.4721, allocations: 25.7 kB / 0.5636 GB, free: 9.074 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.215e-05/0.4722, allocations: 139.8 kB / 0.5637 GB, free: 8.934 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/0.4722, allocations: 51.27 kB / 0.5638 GB, free: 8.883 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.4723, allocations: 4 kB / 0.5638 GB, free: 8.879 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4724, allocations: 338.8 kB / 0.5641 GB, free: 8.539 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.4726, allocations: 179.7 kB / 0.5643 GB, free: 8.363 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.473, allocations: 269.9 kB / 0.5645 GB, free: 8.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.4733, allocations: 212 kB / 0.5647 GB, free: 7.859 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.4733, allocations: 0 / 0.5647 GB, free: 7.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007535/0.4741, allocations: 0.4931 MB / 0.5652 GB, free: 7.359 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4741, allocations: 8 kB / 0.5652 GB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4741, allocations: 0 / 0.5652 GB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.4741, allocations: 8 kB / 0.5652 GB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.4749, allocations: 112.2 kB / 0.5653 GB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.4749, allocations: 8 kB / 0.5653 GB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004108/0.4753, allocations: 43.66 kB / 0.5654 GB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/0.4754, allocations: 19.98 kB / 0.5654 GB, free: 7.164 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.0001232/0.4755, allocations: 122.3 kB / 0.5655 GB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.4755, allocations: 19.81 kB / 0.5655 GB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.966e-05/0.4756, allocations: 36.55 kB / 0.5656 GB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4756, allocations: 7.938 kB / 0.5656 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4757, allocations: 0 / 0.5656 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4757, allocations: 0 / 0.5656 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.4761, allocations: 353.9 kB / 0.5659 GB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4761, allocations: 1.875 kB / 0.5659 GB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006476/0.4768, allocations: 71.89 kB / 0.566 GB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4768, allocations: 0 / 0.566 GB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/0.4768, allocations: 23.88 kB / 0.566 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4768, allocations: 0 / 0.566 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4768, allocations: 0 / 0.566 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007283/0.4776, allocations: 0.49 MB / 0.5665 GB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001018/0.4786, allocations: 1.048 MB / 0.5675 GB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.4787, allocations: 96.84 kB / 0.5676 GB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.584e-05/0.4788, allocations: 12 kB / 0.5676 GB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.4791, allocations: 27.95 kB / 0.5676 GB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/0.4792, allocations: 19.88 kB / 0.5677 GB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.4792, allocations: 15.92 kB / 0.5677 GB, free: 4.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.704e-05/0.4793, allocations: 128.1 kB / 0.5678 GB, free: 4.605 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009923/0.4803, allocations: 51.94 kB / 0.5678 GB, free: 4.555 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.0001371/0.4805, allocations: 108.8 kB / 0.5679 GB, free: 4.445 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006264/0.4811, allocations: 414 kB / 0.5683 GB, free: 4.039 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4811, allocations: 0 / 0.5683 GB, free: 4.039 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.4814, allocations: 167.9 kB / 0.5685 GB, free: 3.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.4816, allocations: 11.98 kB / 0.5685 GB, free: 3.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/0.4824, allocations: 479.5 kB / 0.569 GB, free: 3.371 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000502/0.4829, allocations: 0.8021 MB / 0.5698 GB, free: 2.535 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.483, allocations: 3.938 kB / 0.5698 GB, free: 2.531 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_PDE_test_UpwindFirstOrder_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_PDE_test_UpwindFirstOrder.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe 2>&1)