Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.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.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation",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.001566/0.001566, allocations: 184.2 kB / 7.799 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.463/1.463, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0009083/0.0009085, allocations: 92.12 kB / 261.4 MB, free: 13.62 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.1931/0.1931, allocations: 43.48 MB / 352.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2397/0.4328, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.7997, allocations: 58.83 MB / 476.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.9453, allocations: 95.22 MB / 0.5585 GB, free: 3.684 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.9456, allocations: 67.97 kB / 0.5585 GB, free: 3.617 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: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.1785/1.124, allocations: 72.85 MB / 0.6297 GB, free: 9.996 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/1.124, allocations: 8 kB / 0.6297 GB, free: 9.988 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0144/1.139, allocations: 2.717 MB / 0.6323 GB, free: 7.262 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006493/1.145, allocations: 2.157 MB / 0.6344 GB, free: 5.055 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/1.145, allocations: 120 kB / 0.6346 GB, free: 4.938 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002455/1.148, allocations: 216 kB / 0.6348 GB, free: 4.727 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2726/1.421, allocations: 6.698 MB / 0.6413 GB, free: 95.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01485/1.435, allocations: 9.086 MB / 0.6502 GB, free: 93.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.001e-05/1.436, allocations: 25.22 kB / 0.6502 GB, free: 93.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004704/1.436, allocations: 14.28 kB / 0.6502 GB, free: 93.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001053/1.437, allocations: 1.178 MB / 0.6514 GB, free: 93.66 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03113/1.468, allocations: 30.12 MB / 0.6808 GB, free: 79.85 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/1.471, allocations: 2.799 MB / 0.6835 GB, free: 78.68 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008448/1.472, allocations: 0.86 MB / 0.6843 GB, free: 78.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.003e-05/1.472, allocations: 14.53 kB / 0.6844 GB, free: 78.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/1.472, allocations: 48.28 kB / 0.6844 GB, free: 78.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=144): time 3.567e-06/1.472, allocations: 0 / 0.6844 GB, free: 78.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=144): time 0.004072/1.476, allocations: 2.278 MB / 0.6866 GB, free: 78.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/1.476, allocations: 89.05 kB / 0.6867 GB, free: 78.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003094/1.479, allocations: 2.452 MB / 0.6891 GB, free: 78.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.112e-05/1.479, allocations: 27.89 kB / 0.6891 GB, free: 78.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/1.48, allocations: 2.795 MB / 0.6919 GB, free: 76.45 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000417/1.481, allocations: 0.5447 MB / 0.6924 GB, free: 76.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/1.481, allocations: 0 / 0.6924 GB, free: 76.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002532/1.481, allocations: 0.5738 MB / 0.693 GB, free: 75.82 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/1.483, allocations: 1.529 MB / 0.6945 GB, free: 75.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003392/1.486, allocations: 4.739 MB / 0.6991 GB, free: 71.58 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003798/1.49, allocations: 2.772 MB / 0.7018 GB, free: 71.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.545e-05/1.49, allocations: 32.97 kB / 0.7018 GB, free: 71.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=693) (initialization): time 0.01149/1.502, allocations: 5.53 MB / 0.7072 GB, free: 70.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.502, allocations: 5.5 kB / 0.7072 GB, free: 70.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001737/1.502, allocations: 118.3 kB / 0.7073 GB, free: 70.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/1.502, allocations: 168.3 kB / 0.7075 GB, free: 70.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003872/1.506, allocations: 1.158 MB / 0.7086 GB, free: 70.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001156/1.506, allocations: 223.1 kB / 0.7088 GB, free: 70.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/1.51, allocations: 0.5769 MB / 0.7094 GB, free: 69.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005293/1.51, allocations: 325.3 kB / 0.7097 GB, free: 69.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 525 * Number of states: 0 () * Number of discrete variables: 27 (arrow.color[3],arrow.color[2],arrow.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (645): * Single equations (assignments): 639 * Array equations: 6 * 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.0006211/1.511, allocations: 398.6 kB / 0.7101 GB, free: 68.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/1.511, allocations: 237.7 kB / 0.7103 GB, free: 68.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/1.512, allocations: 292.4 kB / 0.7106 GB, free: 68.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.346e-05/1.512, allocations: 12 kB / 0.7106 GB, free: 68.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/1.512, allocations: 0 / 0.7106 GB, free: 68.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.512, allocations: 3.75 kB / 0.7106 GB, free: 68.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007958/1.52, allocations: 5.899 MB / 0.7164 GB, free: 64.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/1.52, allocations: 8 kB / 0.7164 GB, free: 64.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006712/1.52, allocations: 164 kB / 0.7165 GB, free: 64.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/1.521, allocations: 12 kB / 0.7166 GB, free: 64.45 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.839e-05/1.521, allocations: 12 kB / 0.7166 GB, free: 64.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/1.521, allocations: 10.91 kB / 0.7166 GB, free: 64.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.521, allocations: 16.28 kB / 0.7166 GB, free: 64.42 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002092/1.523, allocations: 2.606 MB / 0.7191 GB, free: 62.23 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002034/1.525, allocations: 3.014 MB / 0.7221 GB, free: 59.63 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/1.525, allocations: 322.5 kB / 0.7224 GB, free: 59.31 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/1.526, allocations: 6.953 kB / 0.7224 GB, free: 59.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006665/1.526, allocations: 19.52 kB / 0.7224 GB, free: 59.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.526, allocations: 75.41 kB / 0.7225 GB, free: 59.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-05/1.526, allocations: 46.14 kB / 0.7225 GB, free: 59.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001941/1.528, allocations: 1.598 MB / 0.7241 GB, free: 58.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004382/1.533, allocations: 0.9833 MB / 0.725 GB, free: 57.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 6 * 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.0003532/1.533, allocations: 150.2 kB / 0.7252 GB, free: 57.13 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004968/1.538, allocations: 3.519 MB / 0.7286 GB, free: 54.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/1.538, allocations: 0 / 0.7286 GB, free: 54.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000903/1.539, allocations: 0.8874 MB / 0.7295 GB, free: 53.58 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/1.54, allocations: 178.9 kB / 0.7297 GB, free: 53.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/1.552, allocations: 6.374 MB / 0.7359 GB, free: 47.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003545/1.555, allocations: 3.365 MB / 0.7392 GB, free: 44.95 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/1.555, allocations: 0 / 0.7392 GB, free: 44.95 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1)