Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.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.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",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.001344/0.001345, allocations: 191.3 kB / 7.805 MB, free: 2.504 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.369/1.369, 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.001084/0.001084, allocations: 93.83 kB / 261.4 MB, free: 13.54 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.1802/0.1802, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2215/0.4018, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.6825, allocations: 58.84 MB / 476.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.8392, allocations: 106.7 MB / 0.5697 GB, free: 8.156 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.8395, allocations: 71.95 kB / 0.5698 GB, free: 8.086 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.3762/1.216, allocations: 76.05 MB / 0.644 GB, free: 111.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.216, allocations: 10.28 kB / 0.6441 GB, free: 111.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004375/1.22, allocations: 0.6296 MB / 0.6447 GB, free: 111.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006997/1.227, allocations: 2.202 MB / 0.6468 GB, free: 111 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/1.228, allocations: 127.2 kB / 0.6469 GB, free: 111 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001813/1.229, allocations: 221.3 kB / 0.6472 GB, free: 111 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01038/1.24, allocations: 5.336 MB / 0.6524 GB, free: 111 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/1.255, allocations: 6.998 MB / 0.6592 GB, free: 109.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/1.255, allocations: 18.16 kB / 0.6592 GB, free: 109.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005309/1.255, allocations: 11.25 kB / 0.6592 GB, free: 109.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001638/1.257, allocations: 0.8138 MB / 0.66 GB, free: 109.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03878/1.296, allocations: 26.08 MB / 0.6855 GB, free: 95.37 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/1.298, allocations: 1.105 MB / 0.6866 GB, free: 94.89 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007672/1.298, allocations: 0.7627 MB / 0.6873 GB, free: 94.55 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006952/1.305, allocations: 6.005 MB / 0.6932 GB, free: 90.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/1.305, allocations: 38.97 kB / 0.6932 GB, free: 90.37 MB / 474.7 MB Notification: Performance of pre-optimization done (n=67): time 4.057e-06/1.305, allocations: 3.312 kB / 0.6932 GB, free: 90.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.01263/1.318, allocations: 4.762 MB / 0.6979 GB, free: 87.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/1.318, allocations: 148.1 kB / 0.698 GB, free: 87.69 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/1.322, allocations: 1.962 MB / 0.6999 GB, free: 86.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/1.322, allocations: 25.7 kB / 0.7 GB, free: 86.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001158/1.323, allocations: 2.36 MB / 0.7023 GB, free: 85.01 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/1.323, allocations: 314.2 kB / 0.7026 GB, free: 84.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.354e-05/1.323, allocations: 1.875 kB / 0.7026 GB, free: 84.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002278/1.324, allocations: 465.4 kB / 0.703 GB, free: 84.42 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/1.325, allocations: 0.8658 MB / 0.7039 GB, free: 84.11 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002586/1.328, allocations: 3.252 MB / 0.707 GB, free: 80.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/1.33, allocations: 1.658 MB / 0.7086 GB, free: 79.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.67e-05/1.33, allocations: 25.41 kB / 0.7087 GB, free: 79.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=491) (initialization): time 0.006702/1.337, allocations: 3.536 MB / 0.7121 GB, free: 78.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/1.337, allocations: 5.562 kB / 0.7121 GB, free: 78.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001371/1.337, allocations: 86.47 kB / 0.7122 GB, free: 78.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/1.338, allocations: 134.9 kB / 0.7123 GB, free: 78.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002989/1.341, allocations: 0.9014 MB / 0.7132 GB, free: 78.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001436/1.341, allocations: 170.1 kB / 0.7134 GB, free: 78.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/1.344, allocations: 94.06 kB / 0.7135 GB, free: 78.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004301/1.344, allocations: 235.2 kB / 0.7137 GB, free: 78.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 394 * Number of states: 0 () * Number of discrete variables: 40 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (491): * Single equations (assignments): 491 * Array equations: 0 * 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.0004256/1.345, allocations: 333.4 kB / 0.714 GB, free: 78.15 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004278/1.345, allocations: 200.1 kB / 0.7142 GB, free: 78.04 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/1.347, allocations: 0.9268 MB / 0.7151 GB, free: 77.67 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/1.347, allocations: 7.562 kB / 0.7151 GB, free: 77.67 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.347, allocations: 2.094 kB / 0.7151 GB, free: 77.67 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/1.347, allocations: 8.906 kB / 0.7151 GB, free: 77.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007615/1.354, allocations: 4.415 MB / 0.7194 GB, free: 75.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-05/1.354, allocations: 15.97 kB / 0.7195 GB, free: 75.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/1.355, allocations: 199.5 kB / 0.7196 GB, free: 75.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.733e-05/1.355, allocations: 23.75 kB / 0.7197 GB, free: 75.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.34e-05/1.355, allocations: 26.38 kB / 0.7197 GB, free: 75.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.623e-05/1.355, allocations: 31.73 kB / 0.7197 GB, free: 75.22 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.226e-05/1.355, allocations: 27.38 kB / 0.7197 GB, free: 75.21 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0023/1.357, allocations: 2.866 MB / 0.7225 GB, free: 72.18 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002468/1.36, allocations: 3.28 MB / 0.7258 GB, free: 68.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005848/1.361, allocations: 288 kB / 0.726 GB, free: 68.17 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/1.361, allocations: 23.38 kB / 0.726 GB, free: 68.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000777/1.362, allocations: 31.36 kB / 0.7261 GB, free: 68.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.935e-05/1.362, allocations: 106.3 kB / 0.7262 GB, free: 68.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/1.362, allocations: 48 kB / 0.7262 GB, free: 68 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001988/1.364, allocations: 1.301 MB / 0.7275 GB, free: 66.83 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004799/1.369, allocations: 0.5544 MB / 0.728 GB, free: 66.29 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * Array equations: 0 * 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.0003346/1.369, allocations: 182.6 kB / 0.7282 GB, free: 66.11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00334/1.372, allocations: 2.055 MB / 0.7302 GB, free: 64.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/1.372, allocations: 4 kB / 0.7302 GB, free: 64.22 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005756/1.373, allocations: 463 kB / 0.7307 GB, free: 63.81 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/1.374, allocations: 206.6 kB / 0.7309 GB, free: 63.62 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.386, allocations: 5.332 MB / 0.7361 GB, free: 58.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003342/1.389, allocations: 2.991 MB / 0.739 GB, free: 56.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.673e-06/1.389, allocations: 0 / 0.739 GB, free: 56.2 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1)