Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestPolynomials",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 trunk/package.mo): time 0.001095/0.001095, allocations: 205.6 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.162/1.162, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008819/0.0008819, allocations: 98.28 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1714/0.1714, allocations: 45.14 MB / 383.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1802/0.3517, allocations: 69.35 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08007/0.4317, allocations: 63.24 MB / 0.5038 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2426/0.6744, allocations: 87.91 MB / 0.5897 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001417/0.6746, allocations: 62.28 kB / 0.5898 GB, free: 14.86 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.02023/0.6948, allocations: 7.727 MB / 0.5973 GB, free: 8.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.6949, allocations: 8 kB / 0.5973 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.6949, allocations: 0 / 0.5973 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.415e-05/0.695, allocations: 167.1 kB / 0.5975 GB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.695, allocations: 4 kB / 0.5975 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.695, allocations: 0 / 0.5975 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.125e-05/0.695, allocations: 0 / 0.5975 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.271e-05/0.6951, allocations: 37.61 kB / 0.5975 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.6951, allocations: 0 / 0.5975 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.6951, allocations: 0 / 0.5975 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.6951, allocations: 0 / 0.5975 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.045e-05/0.6952, allocations: 134 kB / 0.5976 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.056e-05/0.6953, allocations: 23.11 kB / 0.5977 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.299e-05/0.6953, allocations: 4.859 kB / 0.5977 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.6953, allocations: 0 / 0.5977 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.6953, allocations: 60.27 kB / 0.5977 GB, free: 7.914 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.6954, allocations: 0 / 0.5977 GB, free: 7.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001231/0.6955, allocations: 33.75 kB / 0.5978 GB, free: 7.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.6955, allocations: 81.02 kB / 0.5978 GB, free: 7.777 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.826e-05/0.6956, allocations: 88.88 kB / 0.5979 GB, free: 7.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.6956, allocations: 29.7 kB / 0.5979 GB, free: 7.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.357e-05/0.6956, allocations: 80.14 kB / 0.598 GB, free: 7.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.301e-05/0.6956, allocations: 0 / 0.598 GB, free: 7.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-06/0.6956, allocations: 4.031 kB / 0.598 GB, free: 7.566 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.273e-05/0.6957, allocations: 310.8 kB / 0.5983 GB, free: 7.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-06/0.6958, allocations: 3.938 kB / 0.5983 GB, free: 7.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-06/0.6958, allocations: 4 kB / 0.5983 GB, free: 7.246 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.462e-05/0.6958, allocations: 0 / 0.5983 GB, free: 7.246 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.6958, allocations: 0 / 0.5983 GB, free: 7.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.944e-05/0.6959, allocations: 33.69 kB / 0.5984 GB, free: 7.207 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.128e-06/0.6959, allocations: 4.844 kB / 0.5984 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6959, allocations: 4 kB / 0.5984 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.6959, allocations: 4.094 kB / 0.5984 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.855e-06/0.6959, allocations: 3.906 kB / 0.5984 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.6959, allocations: 0 / 0.5984 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.086e-05/0.6959, allocations: 0 / 0.5984 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.696, allocations: 0 / 0.5984 GB, free: 7.191 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 6.572e-05/0.696, allocations: 130.7 kB / 0.5985 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.696, allocations: 3.812 kB / 0.5985 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.071e-05/0.6961, allocations: 10.89 kB / 0.5985 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.6961, allocations: 0 / 0.5985 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.6961, allocations: 4 kB / 0.5985 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6961, allocations: 3.906 kB / 0.5985 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.064e-05/0.6962, allocations: 130.2 kB / 0.5987 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.6962, allocations: 0 / 0.5987 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-06/0.6962, allocations: 3.938 kB / 0.5987 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6962, allocations: 0 / 0.5987 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.6962, allocations: 3.938 kB / 0.5987 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.6962, allocations: 0 / 0.5987 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6962, allocations: 0 / 0.5987 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.633e-05/0.6963, allocations: 68.97 kB / 0.5987 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001771/0.6965, allocations: 444.3 kB / 0.5991 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.6965, allocations: 77.11 kB / 0.5992 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.6965, allocations: 3.906 kB / 0.5992 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.141e-05/0.6965, allocations: 8 kB / 0.5992 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.068e-05/0.6966, allocations: 8 kB / 0.5992 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.6966, allocations: 0 / 0.5992 GB, free: 6.211 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.177e-05/0.6966, allocations: 75.28 kB / 0.5993 GB, free: 6.137 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009021/0.6975, allocations: 89.42 kB / 0.5994 GB, free: 6.055 MB / 394.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004302/0.6979, allocations: 209.6 kB / 0.5996 GB, free: 5.852 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.561e-05/0.698, allocations: 29.7 kB / 0.5996 GB, free: 5.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.698, allocations: 0 / 0.5996 GB, free: 5.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/0.698, allocations: 25.7 kB / 0.5997 GB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.31e-05/0.6981, allocations: 4 kB / 0.5997 GB, free: 5.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001126/0.6982, allocations: 51.12 kB / 0.5997 GB, free: 5.711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.6985, allocations: 0.6842 MB / 0.6004 GB, free: 5 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.6985, allocations: 0 / 0.6004 GB, free: 5 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestPolynomials_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestPolynomials.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1)