Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",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.0009687/0.0009687, allocations: 178.2 kB / 8.52 MB, free: 1.828 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.19/1.19, allocations: 221.4 MB / 230.3 MB, free: 7.641 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.0009054/0.0009054, allocations: 86.61 kB / 281.2 MB, free: 5.449 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.1627/0.1627, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1689/0.3316, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.4198, allocations: 61.9 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2522/0.672, allocations: 106.1 MB / 0.5978 GB, free: 6.621 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.6723, allocations: 72.62 kB / 0.5979 GB, free: 6.551 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.242/0.9143, allocations: 92.14 MB / 0.6879 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.9144, allocations: 11.94 kB / 0.6879 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/0.9284, allocations: 2.833 MB / 0.6906 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/0.9399, allocations: 4.303 MB / 0.6948 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.9401, allocations: 136 kB / 0.695 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001716/0.9418, allocations: 247.9 kB / 0.6952 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1699/1.112, allocations: 7.745 MB / 0.7028 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/1.125, allocations: 10.06 MB / 0.7126 GB, free: 98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/1.125, allocations: 26.5 kB / 0.7126 GB, free: 98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005368/1.125, allocations: 14.78 kB / 0.7126 GB, free: 98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001134/1.126, allocations: 1.287 MB / 0.7139 GB, free: 97.99 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03828/1.165, allocations: 34.96 MB / 0.748 GB, free: 85.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003046/1.168, allocations: 3.11 MB / 0.7511 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/1.17, allocations: 2.467 MB / 0.7535 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0122/1.182, allocations: 9.684 MB / 0.7629 GB, free: 80.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/1.182, allocations: 51.78 kB / 0.763 GB, free: 80.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=211): time 5.03e-06/1.182, allocations: 0 / 0.763 GB, free: 80.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=232): time 0.02829/1.211, allocations: 15.53 MB / 0.7781 GB, free: 75.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/1.211, allocations: 74.47 kB / 0.7782 GB, free: 74.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/1.214, allocations: 2.507 MB / 0.7807 GB, free: 73.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001646/1.214, allocations: 25.7 kB / 0.7807 GB, free: 73.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009294/1.215, allocations: 2.85 MB / 0.7835 GB, free: 70.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005179/1.215, allocations: 0.8317 MB / 0.7843 GB, free: 70.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/1.216, allocations: 0 / 0.7843 GB, free: 70.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002227/1.216, allocations: 0.557 MB / 0.7848 GB, free: 69.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/1.218, allocations: 2.365 MB / 0.7871 GB, free: 67.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003286/1.222, allocations: 5.481 MB / 0.7925 GB, free: 61.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/1.225, allocations: 3.671 MB / 0.7961 GB, free: 58.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.752e-05/1.226, allocations: 32 kB / 0.7961 GB, free: 58.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=766) (initialization): time 0.01153/1.237, allocations: 7.984 MB / 0.8039 GB, free: 51.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.237, allocations: 4 kB / 0.8039 GB, free: 51.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.74e-05/1.237, allocations: 108 kB / 0.804 GB, free: 51.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00256/1.24, allocations: 0.8925 MB / 0.8049 GB, free: 50.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004208/1.244, allocations: 1.291 MB / 0.8061 GB, free: 49.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005129/1.249, allocations: 4.488 MB / 0.8105 GB, free: 45.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003697/1.253, allocations: 165 kB / 0.8107 GB, free: 45.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005676/1.253, allocations: 335.6 kB / 0.811 GB, free: 44.86 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 35 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (705): * Single equations (assignments): 698 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006475/1.254, allocations: 392.3 kB / 0.8114 GB, free: 44.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/1.254, allocations: 268.4 kB / 0.8116 GB, free: 44.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007003/1.261, allocations: 4.73 MB / 0.8163 GB, free: 40.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.005e-05/1.262, allocations: 43.7 kB / 0.8163 GB, free: 40.26 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.262, allocations: 4 kB / 0.8163 GB, free: 40.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.262, allocations: 11.41 kB / 0.8163 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/1.276, allocations: 9.279 MB / 0.8254 GB, free: 32.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.276, allocations: 7.938 kB / 0.8254 GB, free: 32.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/1.278, allocations: 323 kB / 0.8257 GB, free: 32.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002533/1.28, allocations: 0.6944 MB / 0.8264 GB, free: 31.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/1.28, allocations: 9.359 kB / 0.8264 GB, free: 31.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004633/1.285, allocations: 3.804 MB / 0.8301 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.285, allocations: 15.16 kB / 0.8301 GB, free: 28.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00934/1.294, allocations: 7.437 MB / 0.8374 GB, free: 21.53 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01101/1.305, allocations: 10.47 MB / 0.8476 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006824/1.306, allocations: 329.4 kB / 0.8479 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005042/1.307, allocations: 8 kB / 0.8479 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.308, allocations: 63.89 kB / 0.848 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/1.308, allocations: 93.86 kB / 0.8481 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/1.308, allocations: 59.67 kB / 0.8481 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001947/1.31, allocations: 1.655 MB / 0.8497 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004294/1.314, allocations: 0.8874 MB / 0.8506 GB, free: 7.832 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 169 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003999/1.315, allocations: 151.7 kB / 0.8507 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006097/1.321, allocations: 5.559 MB / 0.8562 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.321, allocations: 4 kB / 0.8562 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002126/1.323, allocations: 2.025 MB / 0.8582 GB, free: 96 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/1.324, allocations: 228.6 kB / 0.8584 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/1.338, allocations: 8.215 MB / 0.8664 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004724/1.343, allocations: 3.726 MB / 0.87 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/1.343, allocations: 3.938 kB / 0.87 GB, free: 3.812 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1)