Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.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.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 191.5 kB / 7.807 MB, free: 2.492 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.444/1.444, 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.0009364/0.0009364, allocations: 93.92 kB / 261.4 MB, free: 13.57 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.2016/0.2016, allocations: 43.49 MB / 352.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2083/0.41, allocations: 64.97 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.7579, allocations: 58.83 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.9074, allocations: 95.32 MB / 0.5586 GB, free: 3.602 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/0.9078, allocations: 83.45 kB / 0.5586 GB, free: 3.523 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.6194/1.527, allocations: 141.6 MB / 0.6969 GB, free: 100.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/1.527, allocations: 9.344 kB / 0.6969 GB, free: 100.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03166/1.559, allocations: 5.282 MB / 0.7021 GB, free: 99.54 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01613/1.575, allocations: 4.29 MB / 0.7062 GB, free: 97.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005268/1.576, allocations: 221.1 kB / 0.7065 GB, free: 97.08 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004758/1.58, allocations: 391 kB / 0.7068 GB, free: 97.07 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02696/1.607, allocations: 12.96 MB / 0.7195 GB, free: 86.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04066/1.648, allocations: 17.08 MB / 0.7362 GB, free: 68.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001846/1.648, allocations: 39.62 kB / 0.7362 GB, free: 68.89 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002083/1.65, allocations: 20 kB / 0.7362 GB, free: 68.88 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00228/1.653, allocations: 2.292 MB / 0.7385 GB, free: 66.59 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09101/1.744, allocations: 59.31 MB / 0.7964 GB, free: 6.145 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006842/1.751, allocations: 6.019 MB / 0.8022 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003406/1.754, allocations: 2.085 MB / 0.8043 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002132/1.756, allocations: 2.28 MB / 0.8065 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/1.756, allocations: 60.55 kB / 0.8066 GB, free: 10.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=341): time 1.238e-05/1.756, allocations: 3.984 kB / 0.8066 GB, free: 10.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=341): time 0.01291/1.769, allocations: 5.346 MB / 0.8118 GB, free: 5.473 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/1.769, allocations: 107.1 kB / 0.8119 GB, free: 5.348 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01214/1.782, allocations: 4.581 MB / 0.8164 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006519/1.782, allocations: 29.7 kB / 0.8164 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004737/1.787, allocations: 5.04 MB / 0.8213 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002263/1.789, allocations: 1.253 MB / 0.8225 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/1.791, allocations: 0 / 0.8225 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00135/1.792, allocations: 0.7518 MB / 0.8233 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006506/1.799, allocations: 3.194 MB / 0.8264 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1959/1.995, allocations: 9.038 MB / 0.8352 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008413/2.003, allocations: 5.591 MB / 0.8407 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000118/2.003, allocations: 58.66 kB / 0.8407 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.01762/2.021, allocations: 11.02 MB / 0.8515 GB, free: 163.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/2.021, allocations: 6.469 kB / 0.8515 GB, free: 163.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002718/2.021, allocations: 211.4 kB / 0.8517 GB, free: 163.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002678/2.021, allocations: 307.8 kB / 0.852 GB, free: 163.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00737/2.029, allocations: 2.245 MB / 0.8542 GB, free: 163 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000369/2.029, allocations: 412.8 kB / 0.8546 GB, free: 162.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007615/2.037, allocations: 1.103 MB / 0.8557 GB, free: 162.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/2.038, allocations: 0.5905 MB / 0.8562 GB, free: 162.9 MB / 0.4948 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.002148/2.041, allocations: 0.6025 MB / 0.8568 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/2.042, allocations: 469.7 kB / 0.8573 GB, free: 162.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/2.043, allocations: 0.6284 MB / 0.8579 GB, free: 162.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001355/2.044, allocations: 40.8 kB / 0.8579 GB, free: 162.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.272e-05/2.044, allocations: 3.875 kB / 0.8579 GB, free: 162.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-05/2.044, allocations: 13.73 kB / 0.8579 GB, free: 162.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02563/2.069, allocations: 13.47 MB / 0.8711 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.645e-05/2.069, allocations: 13.12 kB / 0.8711 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/2.072, allocations: 433.5 kB / 0.8715 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.327e-05/2.072, allocations: 25.38 kB / 0.8716 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003639/2.072, allocations: 28.12 kB / 0.8716 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.191e-05/2.072, allocations: 31.47 kB / 0.8716 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.287e-05/2.072, allocations: 21.28 kB / 0.8716 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007495/2.08, allocations: 6.676 MB / 0.8782 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006989/2.087, allocations: 7.112 MB / 0.8851 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/2.088, allocations: 0.5579 MB / 0.8856 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/2.089, allocations: 24 kB / 0.8857 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002208/2.092, allocations: 53.42 kB / 0.8857 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/2.092, allocations: 159.7 kB / 0.8859 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/2.092, allocations: 103.7 kB / 0.886 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.006246/2.098, allocations: 3.014 MB / 0.8889 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0117/2.11, allocations: 1.84 MB / 0.8907 GB, free: 150.2 MB / 0.4948 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.0009555/2.111, allocations: 167.7 kB / 0.8909 GB, free: 150 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01308/2.124, allocations: 7.38 MB / 0.8981 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/2.124, allocations: 2.406 kB / 0.8981 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004047/2.128, allocations: 2.175 MB / 0.9002 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/2.131, allocations: 362.6 kB / 0.9005 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03773/2.169, allocations: 13.22 MB / 0.9135 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01446/2.184, allocations: 6.033 MB / 0.9193 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of SimCode: time 2.054e-06/2.184, allocations: 4 kB / 0.9194 GB, free: 131.2 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1)