Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",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 4.0.0+maint.om/package.mo): time 0.0009785/0.0009786, allocations: 181.9 kB / 8.52 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.174/1.174, allocations: 221.4 MB / 230.3 MB, free: 7.652 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009195/0.0009195, allocations: 90.17 kB / 281.2 MB, free: 5.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1605/0.1605, allocations: 44.14 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1666/0.3272, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08843/0.4156, allocations: 61.91 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2416/0.6572, allocations: 96.77 MB / 0.5887 GB, free: 15.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.6575, allocations: 80.61 kB / 0.5888 GB, free: 15.85 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.4974/1.155, allocations: 143.7 MB / 0.7291 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/1.155, allocations: 10.5 kB / 0.7291 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02501/1.18, allocations: 5.28 MB / 0.7343 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008457/1.188, allocations: 4.287 MB / 0.7385 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/1.189, allocations: 217.4 kB / 0.7387 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001843/1.191, allocations: 384.1 kB / 0.7391 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01589/1.206, allocations: 12.96 MB / 0.7517 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02503/1.231, allocations: 17.08 MB / 0.7684 GB, free: 98.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001877/1.232, allocations: 39.22 kB / 0.7684 GB, free: 98.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001304/1.233, allocations: 21.16 kB / 0.7684 GB, free: 98.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002312/1.235, allocations: 2.291 MB / 0.7707 GB, free: 98.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06696/1.302, allocations: 59.32 MB / 0.8286 GB, free: 46.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005333/1.308, allocations: 6.023 MB / 0.8345 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/1.31, allocations: 2.085 MB / 0.8365 GB, free: 37.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001358/1.311, allocations: 2.279 MB / 0.8388 GB, free: 35.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/1.311, allocations: 56.78 kB / 0.8388 GB, free: 35.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=341): time 6.011e-06/1.311, allocations: 3.938 kB / 0.8388 GB, free: 35.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=341): time 0.009899/1.321, allocations: 5.346 MB / 0.844 GB, free: 29.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/1.321, allocations: 103.1 kB / 0.8441 GB, free: 29.53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005594/1.327, allocations: 4.573 MB / 0.8486 GB, free: 24.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/1.327, allocations: 29.7 kB / 0.8486 GB, free: 24.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001937/1.329, allocations: 5.056 MB / 0.8536 GB, free: 19.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008097/1.33, allocations: 1.245 MB / 0.8548 GB, free: 18.53 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000374/1.33, allocations: 0 / 0.8548 GB, free: 18.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004187/1.331, allocations: 0.7479 MB / 0.8555 GB, free: 17.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003804/1.334, allocations: 3.198 MB / 0.8586 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005499/1.34, allocations: 9.042 MB / 0.8675 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00678/1.347, allocations: 5.583 MB / 0.8729 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.848e-05/1.347, allocations: 63.91 kB / 0.873 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.01625/1.363, allocations: 11.03 MB / 0.8837 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.363, allocations: 4 kB / 0.8837 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/1.363, allocations: 208 kB / 0.8839 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/1.364, allocations: 308 kB / 0.8842 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1351/1.499, allocations: 2.242 MB / 0.8864 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001717/1.499, allocations: 416.7 kB / 0.8868 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005781/1.505, allocations: 1.109 MB / 0.8879 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006905/1.505, allocations: 0.5892 MB / 0.8885 GB, free: 160.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 949 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1249): * Single equations (assignments): 1237 * Array equations: 12 * 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.0008838/1.506, allocations: 0.5983 MB / 0.8891 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004852/1.507, allocations: 469.1 kB / 0.8895 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/1.508, allocations: 0.6289 MB / 0.8901 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.972e-05/1.508, allocations: 47.94 kB / 0.8902 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/1.508, allocations: 0 / 0.8902 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/1.508, allocations: 10.59 kB / 0.8902 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/1.525, allocations: 13.47 MB / 0.9033 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.525, allocations: 16.03 kB / 0.9034 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/1.527, allocations: 425.4 kB / 0.9038 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.407e-05/1.527, allocations: 24.34 kB / 0.9038 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/1.527, allocations: 30.77 kB / 0.9038 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.745e-05/1.527, allocations: 31.91 kB / 0.9039 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/1.527, allocations: 19.81 kB / 0.9039 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005124/1.532, allocations: 6.669 MB / 0.9104 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00519/1.538, allocations: 7.115 MB / 0.9173 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007057/1.538, allocations: 0.5464 MB / 0.9179 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006309/1.539, allocations: 18.78 kB / 0.9179 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/1.54, allocations: 61.86 kB / 0.9179 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003033/1.541, allocations: 169.8 kB / 0.9181 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002368/1.541, allocations: 102.5 kB / 0.9182 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.003421/1.544, allocations: 3.013 MB / 0.9211 GB, free: 151 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006557/1.551, allocations: 1.84 MB / 0.9229 GB, free: 150.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * Array equations: 12 * 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.0004043/1.551, allocations: 174.4 kB / 0.9231 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008234/1.56, allocations: 7.378 MB / 0.9303 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.56, allocations: 3.812 kB / 0.9303 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002154/1.562, allocations: 2.173 MB / 0.9324 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/1.563, allocations: 367.6 kB / 0.9328 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/1.582, allocations: 13.23 MB / 0.9457 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006784/1.589, allocations: 6.032 MB / 0.9516 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of SimCode: time 7.42e-07/1.589, allocations: 0 / 0.9516 GB, free: 144.8 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1)