Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv.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.FluidDynamics.Components.Machines.tests_polynomialFlow_inv,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_tests_polynomialFlow_inv",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_tests_polynomialFlow_inv",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.003858/0.003858, allocations: 180.6 kB / 7.459 MB, free: 2.164 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.174/1.174, 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.0009693/0.0009694, allocations: 92.12 kB / 261.1 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.05939/0.05939, allocations: 10.86 MB / 319.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01581/0.01581, allocations: 4.16 MB / 374.2 MB, free: 79.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1057/0.1215, allocations: 57.61 MB / 431.8 MB, free: 21.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.2231, allocations: 50.77 MB / 482.5 MB, free: 2.98 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2526/0.4758, allocations: 79.75 MB / 0.5491 GB, free: 7.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.4761, allocations: 71.95 kB / 0.5492 GB, free: 7.828 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.01416/0.4902, allocations: 3.814 MB / 0.5529 GB, free: 4.055 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.882e-05/0.4903, allocations: 9.5 kB / 0.5529 GB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.4905, allocations: 7.906 kB / 0.5529 GB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.4906, allocations: 170.9 kB / 0.5531 GB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.4906, allocations: 0 / 0.5531 GB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.4907, allocations: 11.94 kB / 0.5531 GB, free: 3.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004177/0.4911, allocations: 221.8 kB / 0.5533 GB, free: 3.605 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.4913, allocations: 157.1 kB / 0.5535 GB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.4914, allocations: 0 / 0.5535 GB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.4914, allocations: 0 / 0.5535 GB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4914, allocations: 4 kB / 0.5535 GB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007805/0.4922, allocations: 0.601 MB / 0.554 GB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.864e-05/0.4923, allocations: 173.8 kB / 0.5542 GB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.105e-05/0.4923, allocations: 84.14 kB / 0.5543 GB, free: 2.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.4924, allocations: 79.22 kB / 0.5544 GB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.4924, allocations: 109.8 kB / 0.5545 GB, free: 2.352 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.4924, allocations: 4 kB / 0.5545 GB, free: 2.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001308/0.4926, allocations: 37.59 kB / 0.5545 GB, free: 2.305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.4926, allocations: 51.41 kB / 0.5546 GB, free: 2.242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.4928, allocations: 152 kB / 0.5547 GB, free: 2.082 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.4928, allocations: 25.7 kB / 0.5547 GB, free: 2.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.253e-05/0.4929, allocations: 155 kB / 0.5549 GB, free: 1.895 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.4929, allocations: 0 / 0.5549 GB, free: 1.895 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-06/0.4929, allocations: 0 / 0.5549 GB, free: 1.895 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.493, allocations: 326.3 kB / 0.5552 GB, free: 1.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.44e-05/0.4931, allocations: 31.92 kB / 0.5552 GB, free: 1.539 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.4932, allocations: 164.6 kB / 0.5554 GB, free: 1.309 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.4934, allocations: 55.89 kB / 0.5554 GB, free: 1.254 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4934, allocations: 4 kB / 0.5554 GB, free: 1.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004366/0.4938, allocations: 177.8 kB / 0.5556 GB, free: 1.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4938, allocations: 8 kB / 0.5556 GB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4938, allocations: 4 kB / 0.5556 GB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.4939, allocations: 8 kB / 0.5556 GB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.494, allocations: 54.16 kB / 0.5557 GB, free: 1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.4941, allocations: 11.89 kB / 0.5557 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.4942, allocations: 23.78 kB / 0.5557 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.4942, allocations: 19.91 kB / 0.5557 GB, free: 0.9453 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * 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 0.0001214/0.4943, allocations: 189.3 kB / 0.5559 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.4944, allocations: 117.6 kB / 0.556 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.341e-05/0.4945, allocations: 112.6 kB / 0.5561 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.577e-05/0.4946, allocations: 176.3 kB / 0.5563 GB, free: 348 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.247e-05/0.4947, allocations: 180.7 kB / 0.5565 GB, free: 160 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-05/0.4947, allocations: 184.3 kB / 0.5566 GB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.495, allocations: 405.7 kB / 0.557 GB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.046e-05/0.4951, allocations: 104.9 kB / 0.5571 GB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.4951, allocations: 108.2 kB / 0.5572 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.446e-05/0.4952, allocations: 176.3 kB / 0.5574 GB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.837e-05/0.4953, allocations: 180.2 kB / 0.5576 GB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.002e-05/0.4953, allocations: 184.3 kB / 0.5577 GB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.118e-05/0.4954, allocations: 184.2 kB / 0.5579 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001744/0.4956, allocations: 309 kB / 0.5582 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003824/0.496, allocations: 0.6875 MB / 0.5589 GB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.4961, allocations: 186 kB / 0.5591 GB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.4962, allocations: 180.2 kB / 0.5592 GB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.4963, allocations: 108.9 kB / 0.5593 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.4964, allocations: 176.3 kB / 0.5595 GB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.4964, allocations: 101.3 kB / 0.5596 GB, free: 12.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.456e-05/0.4965, allocations: 123.5 kB / 0.5597 GB, free: 12.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001225/0.4978, allocations: 79.88 kB / 0.5598 GB, free: 12.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0005947/0.4984, allocations: 250.3 kB / 0.56 GB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.4986, allocations: 66.45 kB / 0.5601 GB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/0.4986, allocations: 4 kB / 0.5601 GB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.67e-06/0.4986, allocations: 11.94 kB / 0.5601 GB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.499, allocations: 0.5301 MB / 0.5606 GB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006832/0.5058, allocations: 1.955 MB / 0.5625 GB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004647/0.5063, allocations: 0.73 MB / 0.5633 GB, free: 8.957 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5063, allocations: 0 / 0.5633 GB, free: 8.957 MB / 362.7 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_tests_polynomialFlow_inv_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_tests_polynomialFlow_inv.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv.pipe 2>&1)