Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001215/0.001215, allocations: 195.7 kB / 8.539 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008975/0.0008975, allocations: 90.08 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1686/0.1686, allocations: 45.14 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1873/0.356, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0813/0.4373, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2598/0.6972, allocations: 109.3 MB / 0.6106 GB, free: 9.734 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.6974, allocations: 78.14 kB / 0.6107 GB, free: 9.695 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: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.1679/0.8653, allocations: 68.38 MB / 0.6775 GB, free: 13.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.8654, allocations: 12 kB / 0.6775 GB, free: 13.69 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002572/0.8679, allocations: 0.5497 MB / 0.678 GB, free: 13.13 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004403/0.8724, allocations: 2.024 MB / 0.68 GB, free: 11.06 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.8725, allocations: 108 kB / 0.6801 GB, free: 10.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005363/0.873, allocations: 196 kB / 0.6803 GB, free: 10.76 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007009/0.8801, allocations: 4.728 MB / 0.6849 GB, free: 6.027 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008941/0.889, allocations: 6.128 MB / 0.6909 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.957e-05/0.8891, allocations: 15.81 kB / 0.6909 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003303/0.8895, allocations: 12 kB / 0.6909 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007689/0.8902, allocations: 0.6419 MB / 0.6916 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02738/0.9176, allocations: 23.16 MB / 0.7142 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.9192, allocations: 1.045 MB / 0.7152 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009066/0.9202, allocations: 0.7291 MB / 0.7159 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006884/0.9271, allocations: 5.478 MB / 0.7213 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.9271, allocations: 43.22 kB / 0.7213 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=65): time 2.825e-06/0.9271, allocations: 0 / 0.7213 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=74): time 0.008039/0.9352, allocations: 2.927 MB / 0.7242 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.9352, allocations: 60.06 kB / 0.7242 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/0.9375, allocations: 1.811 MB / 0.726 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.9375, allocations: 25.7 kB / 0.726 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.9385, allocations: 1.963 MB / 0.7279 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.9387, allocations: 300.3 kB / 0.7282 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.918e-05/0.9388, allocations: 0 / 0.7282 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.939, allocations: 445 kB / 0.7286 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.9401, allocations: 0.7876 MB / 0.7294 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/0.9423, allocations: 2.845 MB / 0.7322 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.9442, allocations: 1.483 MB / 0.7336 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.258e-05/0.9442, allocations: 20 kB / 0.7337 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of matching and sorting (n=429) (initialization): time 0.004532/0.9487, allocations: 3.153 MB / 0.7367 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.9488, allocations: 8 kB / 0.7367 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.844e-05/0.9488, allocations: 72 kB / 0.7368 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.402e-05/0.9489, allocations: 108 kB / 0.7369 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/0.9513, allocations: 0.772 MB / 0.7377 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.804e-05/0.9514, allocations: 147.3 kB / 0.7378 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.9531, allocations: 83.92 kB / 0.7379 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.9533, allocations: 204 kB / 0.7381 GB, free: 12.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 339 * Number of states: 0 () * Number of discrete variables: 50 (jointUSP.prismatic.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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 (429): * Single equations (assignments): 429 * 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.0003302/0.9537, allocations: 304.2 kB / 0.7384 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.9539, allocations: 181.7 kB / 0.7385 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.9553, allocations: 0.9463 MB / 0.7395 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.9553, allocations: 8 kB / 0.7395 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.9554, allocations: 0 / 0.7395 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.9554, allocations: 3.984 kB / 0.7395 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00531/0.9607, allocations: 3.826 MB / 0.7432 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.9607, allocations: 16 kB / 0.7432 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007215/0.9614, allocations: 207.6 kB / 0.7434 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.105e-05/0.9615, allocations: 20 kB / 0.7434 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/0.9615, allocations: 23.91 kB / 0.7435 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.956e-05/0.9616, allocations: 31.92 kB / 0.7435 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.511e-05/0.9616, allocations: 23.88 kB / 0.7435 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001941/0.9635, allocations: 2.648 MB / 0.7461 GB, free: 3.586 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1253/1.089, allocations: 3.054 MB / 0.7491 GB, free: 208.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/1.089, allocations: 271.1 kB / 0.7494 GB, free: 208.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/1.09, allocations: 25.56 kB / 0.7494 GB, free: 208.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000774/1.09, allocations: 14.81 kB / 0.7494 GB, free: 208.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/1.09, allocations: 103.8 kB / 0.7495 GB, free: 208.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/1.09, allocations: 47.47 kB / 0.7495 GB, free: 208.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001435/1.092, allocations: 1.185 MB / 0.7507 GB, free: 208.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003219/1.095, allocations: 498.3 kB / 0.7512 GB, free: 208.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * 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.0002411/1.095, allocations: 169.5 kB / 0.7513 GB, free: 208 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002076/1.097, allocations: 1.868 MB / 0.7532 GB, free: 208 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.097, allocations: 5 kB / 0.7532 GB, free: 208 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004253/1.098, allocations: 452.7 kB / 0.7536 GB, free: 208 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009911/1.099, allocations: 249.9 kB / 0.7538 GB, free: 208 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006553/1.105, allocations: 4.686 MB / 0.7584 GB, free: 206.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002387/1.108, allocations: 2.671 MB / 0.761 GB, free: 205.7 MB / 0.5261 GB Notification: Performance of SimCode: time 5.82e-07/1.108, allocations: 3.812 kB / 0.761 GB, free: 205.7 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1)