Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.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.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001893/0.001893, allocations: 200.9 kB / 8.539 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.265/1.265, allocations: 225.5 MB / 234.4 MB, free: 3.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009801/0.0009804, allocations: 95.47 kB / 286.3 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1743/0.1743, allocations: 45.16 MB / 383.4 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1918/0.3662, allocations: 69.35 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07902/0.4452, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.256/0.7012, allocations: 97.64 MB / 0.5992 GB, free: 5.352 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.7014, allocations: 76.34 kB / 0.5993 GB, free: 5.316 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: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.1808/0.8822, allocations: 72.33 MB / 0.6699 GB, free: 5.262 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.8823, allocations: 11.98 kB / 0.6699 GB, free: 5.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01351/0.8958, allocations: 2.701 MB / 0.6726 GB, free: 2.539 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004881/0.9007, allocations: 2.122 MB / 0.6746 GB, free: 376 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.9008, allocations: 120 kB / 0.6748 GB, free: 256 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008744/0.9017, allocations: 208 kB / 0.675 GB, free: 48 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009849/0.9116, allocations: 6.579 MB / 0.6814 GB, free: 9.461 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0135/0.9251, allocations: 8.917 MB / 0.6901 GB, free: 60 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-05/0.9252, allocations: 23.75 kB / 0.6901 GB, free: 36 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004679/0.9257, allocations: 16 kB / 0.6901 GB, free: 20 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001127/0.9268, allocations: 1.14 MB / 0.6912 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03429/0.9611, allocations: 29.46 MB / 0.72 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.9641, allocations: 2.776 MB / 0.7227 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.9652, allocations: 0.848 MB / 0.7236 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-05/0.9652, allocations: 28.69 kB / 0.7236 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.9653, allocations: 43.28 kB / 0.7236 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=142): time 3.486e-06/0.9653, allocations: 0 / 0.7236 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=142): time 0.004577/0.9699, allocations: 2.258 MB / 0.7258 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.9699, allocations: 68.12 kB / 0.7259 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/0.973, allocations: 2.407 MB / 0.7282 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/0.9731, allocations: 33.69 kB / 0.7283 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001463/0.9745, allocations: 2.725 MB / 0.7309 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004123/0.975, allocations: 0.5399 MB / 0.7315 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.9751, allocations: 0 / 0.7315 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003625/0.9755, allocations: 0.5649 MB / 0.732 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/0.9776, allocations: 1.517 MB / 0.7335 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003774/0.9814, allocations: 4.637 MB / 0.738 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003674/0.9851, allocations: 2.746 MB / 0.7407 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-05/0.9851, allocations: 32 kB / 0.7407 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of matching and sorting (n=679) (initialization): time 0.008485/0.9936, allocations: 5.45 MB / 0.7461 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.9937, allocations: 4 kB / 0.7461 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-05/0.9938, allocations: 112 kB / 0.7462 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/0.9939, allocations: 164.8 kB / 0.7463 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003399/0.9973, allocations: 1.127 MB / 0.7474 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001348/0.9975, allocations: 223.2 kB / 0.7476 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003123/1.001, allocations: 0.5671 MB / 0.7482 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004703/1.001, allocations: 320 kB / 0.7485 GB, free: 1.633 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,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 (631): * Single equations (assignments): 625 * 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.0005234/1.002, allocations: 376.7 kB / 0.7489 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/1.002, allocations: 228.9 kB / 0.7491 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005664/1.002, allocations: 301 kB / 0.7494 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.435e-05/1.003, allocations: 8 kB / 0.7494 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.003, allocations: 0 / 0.7494 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/1.003, allocations: 7.969 kB / 0.7494 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.138/1.141, allocations: 5.721 MB / 0.755 GB, free: 209.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/1.141, allocations: 3.938 kB / 0.755 GB, free: 209.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006917/1.141, allocations: 157 kB / 0.7551 GB, free: 209.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.141, allocations: 11.38 kB / 0.7551 GB, free: 209.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.933e-05/1.141, allocations: 11.62 kB / 0.7551 GB, free: 209.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/1.141, allocations: 16.88 kB / 0.7552 GB, free: 209.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.141, allocations: 10.41 kB / 0.7552 GB, free: 209.5 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002063/1.143, allocations: 2.533 MB / 0.7576 GB, free: 208.7 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002092/1.146, allocations: 2.942 MB / 0.7605 GB, free: 207.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/1.146, allocations: 317.4 kB / 0.7608 GB, free: 207.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/1.146, allocations: 8.703 kB / 0.7608 GB, free: 207.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006895/1.147, allocations: 19.48 kB / 0.7608 GB, free: 207.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/1.147, allocations: 67.73 kB / 0.7609 GB, free: 207.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-05/1.147, allocations: 44.52 kB / 0.761 GB, free: 207.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001783/1.149, allocations: 1.583 MB / 0.7625 GB, free: 207 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00376/1.153, allocations: 0.9729 MB / 0.7635 GB, free: 206.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (94): * Single equations (assignments): 88 * 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.0002777/1.153, allocations: 135.1 kB / 0.7636 GB, free: 206.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003536/1.157, allocations: 3.481 MB / 0.767 GB, free: 206.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.157, allocations: 0 / 0.767 GB, free: 206.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008585/1.158, allocations: 0.8856 MB / 0.7678 GB, free: 206.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/1.158, allocations: 175.9 kB / 0.768 GB, free: 206.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008712/1.167, allocations: 6.225 MB / 0.7741 GB, free: 205.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003265/1.17, allocations: 3.303 MB / 0.7773 GB, free: 204.6 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/1.17, allocations: 0 / 0.7773 GB, free: 204.6 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1)