Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",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.0009638/0.0009638, allocations: 183.6 kB / 8.52 MB, free: 1.84 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.157/1.157, allocations: 221.4 MB / 230.3 MB, free: 7.754 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.0009197/0.0009197, allocations: 88.78 kB / 281.2 MB, free: 5.504 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.1567/0.1567, allocations: 44.16 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1935/0.3502, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0884/0.4386, allocations: 61.9 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2437/0.6824, allocations: 104 MB / 0.5958 GB, free: 8.676 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.6826, allocations: 78.88 kB / 0.5958 GB, free: 8.602 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.241/0.9236, allocations: 97.93 MB / 0.6915 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.9237, allocations: 11.94 kB / 0.6915 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/0.9376, allocations: 2.903 MB / 0.6943 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1354/1.073, allocations: 4.374 MB / 0.6986 GB, free: 173.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/1.073, allocations: 141.1 kB / 0.6987 GB, free: 173.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007446/1.074, allocations: 255.3 kB / 0.699 GB, free: 173.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00905/1.083, allocations: 8.349 MB / 0.7071 GB, free: 173.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/1.094, allocations: 10.91 MB / 0.7178 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/1.094, allocations: 33.41 kB / 0.7178 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005467/1.095, allocations: 19.62 kB / 0.7178 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001155/1.096, allocations: 1.416 MB / 0.7192 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03912/1.135, allocations: 39.36 MB / 0.7577 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004267/1.14, allocations: 5.228 MB / 0.7628 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002985/1.143, allocations: 3.081 MB / 0.7658 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01374/1.156, allocations: 11.66 MB / 0.7772 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/1.156, allocations: 55.94 kB / 0.7772 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=219): time 4.268e-06/1.156, allocations: 3.656 kB / 0.7772 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=249): time 0.02722/1.184, allocations: 16.01 MB / 0.7928 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/1.184, allocations: 73.41 kB / 0.7929 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0033/1.187, allocations: 2.685 MB / 0.7955 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001655/1.187, allocations: 25.7 kB / 0.7956 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001089/1.188, allocations: 3.066 MB / 0.7986 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006042/1.189, allocations: 0.8911 MB / 0.7994 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/1.189, allocations: 0 / 0.7994 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002618/1.189, allocations: 0.5756 MB / 0.8 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002998/1.192, allocations: 2.82 MB / 0.8027 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003988/1.196, allocations: 6.175 MB / 0.8088 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004356/1.201, allocations: 4.212 MB / 0.8129 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.096e-05/1.201, allocations: 32 kB / 0.8129 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=825) (initialization): time 0.01287/1.214, allocations: 9.456 MB / 0.8221 GB, free: 99.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.214, allocations: 4 kB / 0.8222 GB, free: 99.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/1.214, allocations: 120 kB / 0.8223 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003289/1.217, allocations: 1.279 MB / 0.8235 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004444/1.222, allocations: 1.419 MB / 0.8249 GB, free: 96.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007516/1.229, allocations: 6.785 MB / 0.8315 GB, free: 90.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004267/1.233, allocations: 241.1 kB / 0.8318 GB, free: 90.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004934/1.234, allocations: 363.5 kB / 0.8321 GB, free: 90.24 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.headAtOrigin,axis2.color[3],axis2.color[2],axis2.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 (755): * Single equations (assignments): 748 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006761/1.235, allocations: 416.6 kB / 0.8325 GB, free: 89.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00046/1.235, allocations: 292.2 kB / 0.8328 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009136/1.244, allocations: 5.978 MB / 0.8386 GB, free: 84.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.053e-05/1.244, allocations: 39.66 kB / 0.8387 GB, free: 84.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/1.244, allocations: 7.906 kB / 0.8387 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/1.244, allocations: 14.55 kB / 0.8387 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/1.261, allocations: 11.3 MB / 0.8497 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.261, allocations: 4 kB / 0.8497 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/1.263, allocations: 351.5 kB / 0.8501 GB, free: 73.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003119/1.266, allocations: 1.103 MB / 0.8511 GB, free: 72.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/1.266, allocations: 15.98 kB / 0.8511 GB, free: 72.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006575/1.273, allocations: 5.908 MB / 0.8569 GB, free: 66.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.273, allocations: 0 / 0.8569 GB, free: 66.23 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01064/1.283, allocations: 9.066 MB / 0.8658 GB, free: 57.13 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01359/1.297, allocations: 12.86 MB / 0.8783 GB, free: 44.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005732/1.298, allocations: 341.2 kB / 0.8787 GB, free: 43.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006058/1.298, allocations: 4 kB / 0.8787 GB, free: 43.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/1.3, allocations: 99.84 kB / 0.8788 GB, free: 43.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000285/1.3, allocations: 93.84 kB / 0.8788 GB, free: 43.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001945/1.3, allocations: 63.98 kB / 0.8789 GB, free: 43.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002264/1.303, allocations: 1.768 MB / 0.8806 GB, free: 41.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004394/1.307, allocations: 0.9989 MB / 0.8816 GB, free: 40.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 179 * 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 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004219/1.307, allocations: 146.4 kB / 0.8817 GB, free: 40.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007041/1.314, allocations: 6.6 MB / 0.8882 GB, free: 34.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.314, allocations: 0 / 0.8882 GB, free: 34.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/1.317, allocations: 2.604 MB / 0.8907 GB, free: 31.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/1.318, allocations: 240.3 kB / 0.891 GB, free: 31.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/1.332, allocations: 9.22 MB / 0.9 GB, free: 22.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004532/1.337, allocations: 3.944 MB / 0.9038 GB, free: 18.07 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/1.337, allocations: 0 / 0.9038 GB, free: 18.07 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1)