Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 190.1 kB / 7.804 MB, free: 2.488 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.576/1.576, allocations: 205.2 MB / 213.4 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.0009807/0.0009808, allocations: 91.39 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2079/0.2079, allocations: 43.5 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2665/0.4745, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.8618, allocations: 58.83 MB / 476.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5669/1.429, allocations: 195.3 MB / 0.6562 GB, free: 138.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/1.429, allocations: 66.59 kB / 0.6563 GB, free: 138.9 MB / 474.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.02541/1.454, allocations: 10.79 MB / 0.6668 GB, free: 130.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.455, allocations: 12 kB / 0.6668 GB, free: 130.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/1.455, allocations: 0 / 0.6668 GB, free: 130.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.618e-05/1.455, allocations: 163.1 kB / 0.667 GB, free: 130 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/1.455, allocations: 0 / 0.667 GB, free: 130 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/1.455, allocations: 7.906 kB / 0.667 GB, free: 129.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.536e-05/1.455, allocations: 0 / 0.667 GB, free: 129.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.453e-05/1.455, allocations: 25.7 kB / 0.667 GB, free: 129.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/1.455, allocations: 0 / 0.667 GB, free: 129.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/1.455, allocations: 4 kB / 0.667 GB, free: 129.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.455, allocations: 0 / 0.667 GB, free: 129.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.648e-05/1.455, allocations: 130.2 kB / 0.6671 GB, free: 129.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.366e-05/1.455, allocations: 18.52 kB / 0.6671 GB, free: 129.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/1.455, allocations: 12.45 kB / 0.6672 GB, free: 129.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-06/1.455, allocations: 0 / 0.6672 GB, free: 129.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/1.455, allocations: 57.61 kB / 0.6672 GB, free: 129.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/1.455, allocations: 0 / 0.6672 GB, free: 129.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001845/1.455, allocations: 37.61 kB / 0.6672 GB, free: 129.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/1.455, allocations: 77.11 kB / 0.6673 GB, free: 129.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.684e-05/1.455, allocations: 85 kB / 0.6674 GB, free: 129.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/1.455, allocations: 25.7 kB / 0.6674 GB, free: 129.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.626e-05/1.455, allocations: 84.12 kB / 0.6675 GB, free: 129.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/1.455, allocations: 4 kB / 0.6675 GB, free: 129.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/1.455, allocations: 3.938 kB / 0.6675 GB, free: 129.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.255e-05/1.456, allocations: 314.5 kB / 0.6678 GB, free: 129 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-06/1.456, allocations: 4.031 kB / 0.6678 GB, free: 129 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.229e-06/1.456, allocations: 0 / 0.6678 GB, free: 129 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.822e-05/1.456, allocations: 4 kB / 0.6678 GB, free: 129 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.456, allocations: 3.938 kB / 0.6678 GB, free: 129 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.477e-05/1.456, allocations: 29.7 kB / 0.6679 GB, free: 128.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.456, allocations: 7.906 kB / 0.6679 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/1.456, allocations: 0 / 0.6679 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/1.456, allocations: 0 / 0.6679 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.374e-06/1.456, allocations: 3.984 kB / 0.6679 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.456, allocations: 4 kB / 0.6679 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/1.456, allocations: 4.094 kB / 0.6679 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/1.456, allocations: 0 / 0.6679 GB, free: 128.9 MB / 474.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.46e-05/1.456, allocations: 128.1 kB / 0.668 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/1.456, allocations: 7.938 kB / 0.668 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.355e-05/1.456, allocations: 3 kB / 0.668 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/1.456, allocations: 3.906 kB / 0.668 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.456, allocations: 0 / 0.668 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.456, allocations: 0 / 0.668 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.75e-05/1.456, allocations: 130 kB / 0.6681 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.456, allocations: 7.938 kB / 0.6681 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-06/1.456, allocations: 4 kB / 0.6681 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.456, allocations: 3.984 kB / 0.6681 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/1.456, allocations: 0 / 0.6681 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.456, allocations: 4 kB / 0.6682 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.456, allocations: 0 / 0.6682 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.388e-05/1.456, allocations: 61.03 kB / 0.6682 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001614/1.456, allocations: 443.6 kB / 0.6686 GB, free: 128 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/1.456, allocations: 85 kB / 0.6687 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/1.456, allocations: 0 / 0.6687 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-06/1.456, allocations: 3.938 kB / 0.6687 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/1.456, allocations: 0 / 0.6687 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/1.456, allocations: 4 kB / 0.6687 GB, free: 127.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.784e-05/1.456, allocations: 79.31 kB / 0.6688 GB, free: 127.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009592/1.457, allocations: 86.73 kB / 0.6689 GB, free: 127.8 MB / 474.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.0004912/1.458, allocations: 209.9 kB / 0.6691 GB, free: 127.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.856e-05/1.458, allocations: 33.7 kB / 0.6691 GB, free: 127.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.458, allocations: 3.938 kB / 0.6691 GB, free: 127.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.492e-05/1.458, allocations: 25.7 kB / 0.6691 GB, free: 127.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.32e-05/1.458, allocations: 7.906 kB / 0.6691 GB, free: 127.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001499/1.458, allocations: 48 kB / 0.6692 GB, free: 127.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/1.458, allocations: 0.6841 MB / 0.6699 GB, free: 126.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/1.458, allocations: 0 / 0.6699 GB, free: 126.7 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1)