Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.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.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001551/0.001551, allocations: 207 kB / 8.542 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.267/1.267, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009571/0.0009572, allocations: 88.73 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1757/0.1757, allocations: 45.15 MB / 383.4 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1862/0.362, allocations: 69.36 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07806/0.44, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2528/0.6928, allocations: 97.84 MB / 0.5994 GB, free: 5.395 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001834/0.6931, allocations: 74.89 kB / 0.5995 GB, free: 5.359 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.3668/1.06, allocations: 145.3 MB / 0.7414 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/1.06, allocations: 8 kB / 0.7414 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02675/1.087, allocations: 5.282 MB / 0.7466 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/1.097, allocations: 4.292 MB / 0.7508 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002994/1.097, allocations: 223.9 kB / 0.751 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002543/1.1, allocations: 392 kB / 0.7514 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1942/1.294, allocations: 12.95 MB / 0.764 GB, free: 84.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02394/1.318, allocations: 17.08 MB / 0.7807 GB, free: 82.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/1.318, allocations: 36.5 kB / 0.7807 GB, free: 82.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009499/1.319, allocations: 24.53 kB / 0.7807 GB, free: 82.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001804/1.321, allocations: 2.282 MB / 0.783 GB, free: 82.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06554/1.387, allocations: 59.3 MB / 0.8409 GB, free: 54.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005519/1.392, allocations: 6.02 MB / 0.8468 GB, free: 51.55 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00231/1.394, allocations: 2.081 MB / 0.8488 GB, free: 50.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/1.396, allocations: 2.276 MB / 0.851 GB, free: 48.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/1.396, allocations: 66.22 kB / 0.8511 GB, free: 48.78 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=341): time 6.032e-06/1.396, allocations: 3.938 kB / 0.8511 GB, free: 48.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=341): time 0.01009/1.406, allocations: 5.348 MB / 0.8563 GB, free: 47.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/1.406, allocations: 105.9 kB / 0.8564 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005399/1.411, allocations: 4.57 MB / 0.8609 GB, free: 45.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002363/1.412, allocations: 29.36 kB / 0.8609 GB, free: 45.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00218/1.414, allocations: 5.05 MB / 0.8658 GB, free: 42.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009589/1.415, allocations: 1.254 MB / 0.8671 GB, free: 41.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003958/1.415, allocations: 0 / 0.8671 GB, free: 41.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004262/1.416, allocations: 0.7528 MB / 0.8678 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004381/1.42, allocations: 3.194 MB / 0.8709 GB, free: 39.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006692/1.427, allocations: 9.035 MB / 0.8797 GB, free: 31.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007201/1.434, allocations: 5.593 MB / 0.8852 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/1.434, allocations: 58.75 kB / 0.8853 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.01592/1.45, allocations: 11.03 MB / 0.896 GB, free: 23.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.45, allocations: 8 kB / 0.896 GB, free: 23.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/1.45, allocations: 211.9 kB / 0.8962 GB, free: 22.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/1.45, allocations: 304.8 kB / 0.8965 GB, free: 22.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006537/1.457, allocations: 2.245 MB / 0.8987 GB, free: 20.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001839/1.457, allocations: 411.7 kB / 0.8991 GB, free: 20.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005731/1.463, allocations: 1.106 MB / 0.9002 GB, free: 19.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007564/1.464, allocations: 0.5854 MB / 0.9008 GB, free: 18.54 MB / 0.5261 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.0008698/1.465, allocations: 0.604 MB / 0.9014 GB, free: 17.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005004/1.465, allocations: 469.8 kB / 0.9018 GB, free: 17.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/1.466, allocations: 0.6236 MB / 0.9024 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-05/1.466, allocations: 43.94 kB / 0.9025 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/1.466, allocations: 0 / 0.9025 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/1.466, allocations: 13.27 kB / 0.9025 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01746/1.484, allocations: 13.48 MB / 0.9156 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/1.484, allocations: 12.94 kB / 0.9156 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/1.486, allocations: 432.1 kB / 0.9161 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.522e-05/1.486, allocations: 24 kB / 0.9161 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/1.486, allocations: 28 kB / 0.9161 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-05/1.486, allocations: 31.69 kB / 0.9161 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.486, allocations: 15.94 kB / 0.9162 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00603/1.492, allocations: 6.683 MB / 0.9227 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006646/1.499, allocations: 7.118 MB / 0.9296 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009092/1.5, allocations: 0.5474 MB / 0.9302 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006625/1.5, allocations: 19.66 kB / 0.9302 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.502, allocations: 64.11 kB / 0.9302 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003209/1.502, allocations: 165.4 kB / 0.9304 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002595/1.503, allocations: 106.8 kB / 0.9305 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.004314/1.507, allocations: 3.008 MB / 0.9334 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007559/1.515, allocations: 1.84 MB / 0.9352 GB, free: 1.367 MB / 0.5417 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.0004636/1.515, allocations: 174.8 kB / 0.9354 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.527, allocations: 7.495 MB / 0.9427 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.527, allocations: 4 kB / 0.9427 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002693/1.529, allocations: 2.172 MB / 0.9448 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/1.531, allocations: 358.8 kB / 0.9452 GB, free: 8.492 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02397/1.555, allocations: 13.22 MB / 0.9581 GB, free: 12.39 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009589/1.565, allocations: 6.042 MB / 0.964 GB, free: 7.785 MB / 0.573 GB Notification: Performance of SimCode: time 1.092e-06/1.565, allocations: 0 / 0.964 GB, free: 7.785 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1)