Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.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.Forces.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force",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.00175/0.001749, allocations: 193 kB / 7.806 MB, free: 2.488 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.566/1.566, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.000836/0.000836, allocations: 79.81 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.2158/0.2158, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2308/0.4467, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.7915, allocations: 58.84 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.9441, allocations: 106.8 MB / 0.5698 GB, free: 8.023 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.9444, allocations: 75.97 kB / 0.5699 GB, free: 7.949 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.5691/1.513, allocations: 131.7 MB / 0.6985 GB, free: 99.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.514, allocations: 9.031 kB / 0.6985 GB, free: 99.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03197/1.546, allocations: 6.742 MB / 0.7051 GB, free: 96.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02478/1.57, allocations: 7.458 MB / 0.7124 GB, free: 92.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009265/1.571, allocations: 211 kB / 0.7126 GB, free: 92.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004768/1.576, allocations: 391.3 kB / 0.713 GB, free: 92.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01879/1.595, allocations: 9.45 MB / 0.7222 GB, free: 83.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03094/1.626, allocations: 14.38 MB / 0.7362 GB, free: 68.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003629/1.626, allocations: 83.22 kB / 0.7363 GB, free: 68.01 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002173/1.629, allocations: 47.98 kB / 0.7364 GB, free: 67.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001912/1.63, allocations: 1.654 MB / 0.738 GB, free: 66.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07239/1.703, allocations: 70.48 MB / 0.8068 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007208/1.71, allocations: 5.694 MB / 0.8124 GB, free: 4.359 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004768/1.715, allocations: 3.962 MB / 0.8162 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02009/1.735, allocations: 10.58 MB / 0.8266 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.205e-05/1.735, allocations: 56.34 kB / 0.8266 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=258): time 6.081e-06/1.735, allocations: 0 / 0.8266 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of matching and sorting (n=300): time 0.2545/1.99, allocations: 26.33 MB / 0.8523 GB, free: 170.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/1.99, allocations: 238.1 kB / 0.8526 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007406/1.997, allocations: 4.797 MB / 0.8572 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009216/1.998, allocations: 25.7 kB / 0.8573 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003091/2.001, allocations: 4.38 MB / 0.8615 GB, free: 167 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001946/2.003, allocations: 1.108 MB / 0.8626 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006417/2.004, allocations: 0 / 0.8626 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004105/2.004, allocations: 0.6991 MB / 0.8633 GB, free: 166 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004817/2.009, allocations: 3.461 MB / 0.8667 GB, free: 166 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00771/2.017, allocations: 8.735 MB / 0.8752 GB, free: 159 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007249/2.024, allocations: 5.47 MB / 0.8806 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/2.024, allocations: 54.06 kB / 0.8806 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.02303/2.047, allocations: 12.34 MB / 0.8927 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/2.047, allocations: 5.25 kB / 0.8927 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005116/2.048, allocations: 187.8 kB / 0.8928 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005186/2.053, allocations: 1.606 MB / 0.8944 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008339/2.062, allocations: 2.122 MB / 0.8965 GB, free: 153 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/2.074, allocations: 10.13 MB / 0.9064 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01069/2.085, allocations: 304 kB / 0.9067 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002171/2.087, allocations: 0.5502 MB / 0.9072 GB, free: 145.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 857 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1117): * Single equations (assignments): 1112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002172/2.09, allocations: 0.574 MB / 0.9078 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/2.091, allocations: 0.5013 MB / 0.9083 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/2.102, allocations: 6.361 MB / 0.9145 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.195e-05/2.102, allocations: 31.39 kB / 0.9145 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.984e-05/2.102, allocations: 14.38 kB / 0.9145 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.182e-05/2.102, allocations: 17.91 kB / 0.9145 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02548/2.127, allocations: 13.25 MB / 0.9275 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/2.128, allocations: 4 kB / 0.9275 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/2.13, allocations: 497.2 kB / 0.9279 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003375/2.134, allocations: 1.292 MB / 0.9292 GB, free: 127 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003234/2.134, allocations: 15.89 kB / 0.9292 GB, free: 127 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/2.145, allocations: 9.482 MB / 0.9385 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/2.145, allocations: 4 kB / 0.9385 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01411/2.159, allocations: 10.74 MB / 0.949 GB, free: 109 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01939/2.179, allocations: 14.96 MB / 0.9636 GB, free: 95.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003038/2.182, allocations: 1.017 MB / 0.9646 GB, free: 94.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001371/2.183, allocations: 4 kB / 0.9646 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/2.186, allocations: 101.3 kB / 0.9647 GB, free: 94.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003708/2.186, allocations: 145.2 kB / 0.9648 GB, free: 94.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002563/2.186, allocations: 71.61 kB / 0.9649 GB, free: 94.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004796/2.191, allocations: 3.25 MB / 0.9681 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008897/2.2, allocations: 1.384 MB / 0.9694 GB, free: 90.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 240 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006705/2.201, allocations: 157.4 kB / 0.9696 GB, free: 90.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01383/2.215, allocations: 8.467 MB / 0.9778 GB, free: 82.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/2.215, allocations: 0 / 0.9778 GB, free: 82.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004873/2.219, allocations: 3.214 MB / 0.981 GB, free: 79.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003875/2.223, allocations: 0.507 MB / 0.9815 GB, free: 79.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/2.249, allocations: 12.87 MB / 0.994 GB, free: 66.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008253/2.257, allocations: 5.355 MB / 0.9993 GB, free: 61.37 MB / 0.4948 GB Notification: Performance of SimCode: time 1.713e-06/2.257, allocations: 4 kB / 0.9993 GB, free: 61.37 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1)