Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",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.001205/0.001205, allocations: 195.6 kB / 7.806 MB, free: 2.445 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.441/1.441, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008785/0.0008785, allocations: 95.42 kB / 261.4 MB, free: 13.55 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.2144/0.2144, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2243/0.4387, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.7893, allocations: 58.84 MB / 476.6 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/0.9479, allocations: 104.1 MB / 0.5672 GB, free: 10.74 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.9482, allocations: 83.44 kB / 0.5672 GB, free: 10.66 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: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.6796/1.628, allocations: 161.4 MB / 0.7248 GB, free: 81.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.628, allocations: 8 kB / 0.7248 GB, free: 81.17 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01821/1.646, allocations: 3.007 MB / 0.7278 GB, free: 78.15 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02531/1.672, allocations: 9.685 MB / 0.7372 GB, free: 68.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006556/1.672, allocations: 260 kB / 0.7375 GB, free: 68.22 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004802/1.677, allocations: 479.8 kB / 0.7379 GB, free: 67.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02376/1.701, allocations: 11.61 MB / 0.7493 GB, free: 56.14 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04071/1.742, allocations: 16.74 MB / 0.7656 GB, free: 37.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000524/1.742, allocations: 91.16 kB / 0.7657 GB, free: 37.81 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004381/1.747, allocations: 47.98 kB / 0.7658 GB, free: 37.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003274/1.75, allocations: 1.895 MB / 0.7676 GB, free: 35.88 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5146/2.264, allocations: 81.22 MB / 0.8469 GB, free: 111.8 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00419/2.269, allocations: 3.032 MB / 0.8499 GB, free: 111.2 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002161/2.271, allocations: 1.609 MB / 0.8515 GB, free: 111.1 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/2.286, allocations: 7.774 MB / 0.8591 GB, free: 109.3 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/2.286, allocations: 49.38 kB / 0.8591 GB, free: 109.3 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=190): time 6.402e-06/2.286, allocations: 0 / 0.8591 GB, free: 109.3 MB / 0.4949 GB Notification: Performance of matching and sorting (n=190): time 0.01478/2.3, allocations: 4.677 MB / 0.8637 GB, free: 109.2 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/2.301, allocations: 147.3 kB / 0.8638 GB, free: 109.1 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/2.311, allocations: 5.248 MB / 0.8689 GB, free: 108.6 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005212/2.312, allocations: 29.17 kB / 0.869 GB, free: 108.5 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003894/2.316, allocations: 5.275 MB / 0.8741 GB, free: 105.6 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/2.317, allocations: 0.7632 MB / 0.8749 GB, free: 105.1 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004297/2.317, allocations: 0 / 0.8749 GB, free: 105.1 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004073/2.318, allocations: 0.6799 MB / 0.8755 GB, free: 104.8 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/2.321, allocations: 2.252 MB / 0.8777 GB, free: 104.8 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005818/2.327, allocations: 8.087 MB / 0.8856 GB, free: 97.16 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006767/2.333, allocations: 4.228 MB / 0.8897 GB, free: 97.13 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002116/2.334, allocations: 66.75 kB / 0.8898 GB, free: 97.13 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02089/2.355, allocations: 8.921 MB / 0.8985 GB, free: 96.16 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/2.355, allocations: 4.969 kB / 0.8985 GB, free: 96.16 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003443/2.355, allocations: 212.3 kB / 0.8987 GB, free: 96.16 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002885/2.355, allocations: 307.4 kB / 0.899 GB, free: 96.16 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007909/2.363, allocations: 2.188 MB / 0.9012 GB, free: 95.89 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002594/2.364, allocations: 412.3 kB / 0.9016 GB, free: 95.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009862/2.373, allocations: 1.166 MB / 0.9027 GB, free: 95.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002451/2.376, allocations: 0.5568 MB / 0.9032 GB, free: 95.13 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1143): * Single equations (assignments): 1140 * Array equations: 3 * 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.001883/2.378, allocations: 0.616 MB / 0.9038 GB, free: 94.62 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/2.379, allocations: 0.5256 MB / 0.9044 GB, free: 94.33 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/2.383, allocations: 2.191 MB / 0.9065 GB, free: 93.56 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/2.383, allocations: 18.22 kB / 0.9065 GB, free: 93.56 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/2.383, allocations: 0 / 0.9065 GB, free: 93.56 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/2.383, allocations: 5.719 kB / 0.9065 GB, free: 93.56 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04027/2.423, allocations: 24.46 MB / 0.9304 GB, free: 84.74 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/2.423, allocations: 31.5 kB / 0.9304 GB, free: 84.74 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/2.425, allocations: 338.1 kB / 0.9308 GB, free: 84.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.691e-05/2.425, allocations: 45.84 kB / 0.9308 GB, free: 84.7 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/2.425, allocations: 54.03 kB / 0.9308 GB, free: 84.68 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.889e-05/2.425, allocations: 66.55 kB / 0.9309 GB, free: 84.62 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.817e-05/2.425, allocations: 47.81 kB / 0.931 GB, free: 84.58 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006964/2.432, allocations: 9.21 MB / 0.94 GB, free: 74.23 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005393/2.438, allocations: 9.674 MB / 0.9494 GB, free: 63.34 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/2.439, allocations: 0.6046 MB / 0.95 GB, free: 62.73 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006613/2.44, allocations: 46.42 kB / 0.95 GB, free: 62.69 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002297/2.442, allocations: 142.8 kB / 0.9502 GB, free: 62.59 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/2.442, allocations: 184.9 kB / 0.9503 GB, free: 62.44 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/2.443, allocations: 95.19 kB / 0.9504 GB, free: 62.35 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.006635/2.449, allocations: 3.538 MB / 0.9539 GB, free: 59.28 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01227/2.462, allocations: 1.889 MB / 0.9557 GB, free: 57.39 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 167 * Array equations: 3 * 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.0006736/2.462, allocations: 202.7 kB / 0.9559 GB, free: 57.19 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.00909/2.471, allocations: 5.305 MB / 0.9611 GB, free: 52.41 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.764e-05/2.471, allocations: 4.188 kB / 0.9611 GB, free: 52.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/2.473, allocations: 1.18 MB / 0.9623 GB, free: 51.37 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00398/2.477, allocations: 0.6509 MB / 0.9629 GB, free: 50.82 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0291/2.506, allocations: 12.97 MB / 0.9756 GB, free: 38.66 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0118/2.518, allocations: 6.087 MB / 0.9815 GB, free: 34.14 MB / 0.4949 GB Notification: Performance of SimCode: time 1.092e-06/2.518, allocations: 0 / 0.9815 GB, free: 34.14 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1)