Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",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.0009708/0.0009709, allocations: 174.4 kB / 8.518 MB, free: 1.844 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.122/1.122, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.0009296/0.0009297, allocations: 95.8 kB / 281.2 MB, free: 5.465 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.1518/0.1518, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1627/0.3146, allocations: 68.03 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08605/0.4006, allocations: 61.91 MB / 0.4942 GB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2452/0.6459, allocations: 103 MB / 0.5948 GB, free: 9.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.6461, allocations: 75.55 kB / 0.5948 GB, free: 9.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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.2171/0.8632, allocations: 86.97 MB / 0.6798 GB, free: 1.934 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.8633, allocations: 11.94 kB / 0.6798 GB, free: 1.922 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/0.8765, allocations: 2.787 MB / 0.6825 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009868/0.8864, allocations: 4.026 MB / 0.6864 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.8866, allocations: 120 kB / 0.6866 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006971/0.8873, allocations: 216 kB / 0.6868 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009957/0.8972, allocations: 7.329 MB / 0.6939 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1286/1.026, allocations: 9.478 MB / 0.7032 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.963e-05/1.026, allocations: 28.19 kB / 0.7032 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004766/1.026, allocations: 10.84 kB / 0.7032 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001034/1.028, allocations: 1.249 MB / 0.7044 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0314/1.059, allocations: 32.73 MB / 0.7364 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00346/1.062, allocations: 4.29 MB / 0.7406 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/1.065, allocations: 2.384 MB / 0.7429 GB, free: 161.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/1.076, allocations: 10.1 MB / 0.7528 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/1.076, allocations: 51 kB / 0.7528 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=186): time 3.517e-06/1.076, allocations: 3.812 kB / 0.7528 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=201): time 0.01803/1.094, allocations: 11.81 MB / 0.7644 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/1.094, allocations: 68.12 kB / 0.7644 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/1.097, allocations: 2.454 MB / 0.7668 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/1.097, allocations: 33.36 kB / 0.7669 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009817/1.098, allocations: 2.723 MB / 0.7695 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004407/1.098, allocations: 0.7277 MB / 0.7702 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/1.098, allocations: 1.312 kB / 0.7702 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002674/1.099, allocations: 0.5951 MB / 0.7708 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00258/1.101, allocations: 2.184 MB / 0.7729 GB, free: 147 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0034/1.105, allocations: 5.258 MB / 0.7781 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/1.108, allocations: 3.439 MB / 0.7814 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-05/1.108, allocations: 31.91 kB / 0.7815 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=731) (initialization): time 0.009127/1.117, allocations: 7.435 MB / 0.7887 GB, free: 133 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/1.117, allocations: 5.875 kB / 0.7887 GB, free: 133 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.426e-05/1.117, allocations: 108 kB / 0.7888 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/1.119, allocations: 0.7557 MB / 0.7896 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003438/1.123, allocations: 1.233 MB / 0.7908 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004149/1.127, allocations: 3.932 MB / 0.7946 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/1.13, allocations: 157 kB / 0.7948 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/1.13, allocations: 322.6 kB / 0.7951 GB, free: 127.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 497 * Number of states: 0 () * Number of discrete variables: 29 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (671): * Single equations (assignments): 664 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000509/1.131, allocations: 387.5 kB / 0.7954 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/1.131, allocations: 260.6 kB / 0.7957 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005868/1.137, allocations: 4.171 MB / 0.7998 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.127e-05/1.137, allocations: 31.84 kB / 0.7998 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.137, allocations: 0 / 0.7998 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/1.137, allocations: 11.03 kB / 0.7998 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/1.148, allocations: 8.04 MB / 0.8077 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/1.148, allocations: 7.75 kB / 0.8077 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/1.149, allocations: 272.2 kB / 0.8079 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/1.151, allocations: 0.5802 MB / 0.8085 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/1.151, allocations: 11.61 kB / 0.8085 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00359/1.155, allocations: 3.425 MB / 0.8118 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.155, allocations: 0.7031 kB / 0.8118 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007647/1.163, allocations: 6.371 MB / 0.8181 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009478/1.172, allocations: 9.156 MB / 0.827 GB, free: 98.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000557/1.173, allocations: 317.7 kB / 0.8273 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003956/1.173, allocations: 0 / 0.8273 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/1.174, allocations: 63.83 kB / 0.8274 GB, free: 97.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/1.174, allocations: 73.2 kB / 0.8274 GB, free: 97.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.175, allocations: 47.98 kB / 0.8275 GB, free: 97.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001832/1.176, allocations: 1.617 MB / 0.8291 GB, free: 96.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003825/1.18, allocations: 0.817 MB / 0.8299 GB, free: 95.42 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000323/1.181, allocations: 151.2 kB / 0.83 GB, free: 95.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005118/1.186, allocations: 5.125 MB / 0.835 GB, free: 90.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.186, allocations: 0 / 0.835 GB, free: 90.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001709/1.187, allocations: 1.811 MB / 0.8368 GB, free: 88.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008025/1.188, allocations: 202.1 kB / 0.837 GB, free: 88.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/1.198, allocations: 7.478 MB / 0.8443 GB, free: 80.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003386/1.202, allocations: 3.489 MB / 0.8477 GB, free: 77.11 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/1.202, allocations: 0 / 0.8477 GB, free: 77.11 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1)