Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",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.001831/0.001831, allocations: 198.8 kB / 8.538 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 225.5 MB / 234.4 MB, free: 3.418 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009623/0.0009624, allocations: 90.22 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1756/0.1756, allocations: 45.14 MB / 383.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.203/0.3787, allocations: 69.37 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.4681, allocations: 63.23 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2799/0.748, allocations: 108.3 MB / 0.6096 GB, free: 10.97 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.7482, allocations: 73.22 kB / 0.6096 GB, free: 10.93 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.132/0.8802, allocations: 53 MB / 0.6614 GB, free: 14.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.8803, allocations: 12 kB / 0.6614 GB, free: 14.22 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.8822, allocations: 396.1 kB / 0.6618 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003064/0.8853, allocations: 1.481 MB / 0.6632 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.409e-05/0.8854, allocations: 87.98 kB / 0.6633 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.8858, allocations: 152 kB / 0.6635 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004846/0.8906, allocations: 3.225 MB / 0.6666 GB, free: 8.832 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006119/0.8967, allocations: 4.363 MB / 0.6709 GB, free: 4.168 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-05/0.8968, allocations: 19.88 kB / 0.6709 GB, free: 4.148 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.897, allocations: 8 kB / 0.6709 GB, free: 4.141 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005101/0.8976, allocations: 436 kB / 0.6713 GB, free: 3.711 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01841/0.916, allocations: 17.27 MB / 0.6882 GB, free: 1.922 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.917, allocations: 0.5901 MB / 0.6888 GB, free: 1.324 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.9175, allocations: 330.2 kB / 0.6891 GB, free: 1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/0.919, allocations: 1.758 MB / 0.6908 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.9191, allocations: 43 kB / 0.6908 GB, free: 14.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=59): time 2.605e-06/0.9191, allocations: 0 / 0.6908 GB, free: 14.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=91): time 0.01182/0.9309, allocations: 3.566 MB / 0.6943 GB, free: 11.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.931, allocations: 60.19 kB / 0.6944 GB, free: 11.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/0.9329, allocations: 1.323 MB / 0.6957 GB, free: 9.926 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/0.933, allocations: 25.7 kB / 0.6957 GB, free: 9.895 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008496/0.9338, allocations: 1.438 MB / 0.6971 GB, free: 8.434 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.9341, allocations: 339.4 kB / 0.6974 GB, free: 8.098 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/0.9342, allocations: 3.938 kB / 0.6974 GB, free: 8.094 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002471/0.9344, allocations: 468 kB / 0.6979 GB, free: 7.629 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.9355, allocations: 0.6728 MB / 0.6985 GB, free: 6.953 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.9374, allocations: 2.107 MB / 0.7006 GB, free: 4.129 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002236/0.9396, allocations: 1.378 MB / 0.7019 GB, free: 2.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.438e-05/0.9397, allocations: 20 kB / 0.7019 GB, free: 2.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004799/0.9445, allocations: 2.694 MB / 0.7046 GB, free: 32 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.9445, allocations: 4 kB / 0.7046 GB, free: 28 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/0.9446, allocations: 52.05 kB / 0.7046 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001063/0.9447, allocations: 79.91 kB / 0.7047 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.9468, allocations: 0.5966 MB / 0.7053 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.219e-05/0.9468, allocations: 107.6 kB / 0.7054 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.9482, allocations: 56.12 kB / 0.7054 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.9485, allocations: 156 kB / 0.7056 GB, free: 14.99 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 234 * Number of states: 0 () * Number of discrete variables: 38 (jointSSP.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],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (332): * Single equations (assignments): 332 * 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.0003028/0.9488, allocations: 239.7 kB / 0.7058 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.949, allocations: 146.1 kB / 0.706 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.9513, allocations: 1.182 MB / 0.7071 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.9513, allocations: 8 kB / 0.7071 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9513, allocations: 0 / 0.7071 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.9513, allocations: 11.97 kB / 0.7071 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007385/0.9587, allocations: 4.457 MB / 0.7115 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.9588, allocations: 16 kB / 0.7115 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007473/0.9595, allocations: 171.7 kB / 0.7117 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.389e-05/0.9596, allocations: 23.98 kB / 0.7117 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.9596, allocations: 23.91 kB / 0.7117 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.255e-05/0.9597, allocations: 24.39 kB / 0.7117 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.312e-05/0.9597, allocations: 27.88 kB / 0.7118 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002673/0.9624, allocations: 2.359 MB / 0.7141 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002702/0.9651, allocations: 2.765 MB / 0.7168 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/0.9655, allocations: 219.2 kB / 0.717 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.9657, allocations: 23.98 kB / 0.717 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.9663, allocations: 23.98 kB / 0.717 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.9664, allocations: 83.56 kB / 0.7171 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.56e-05/0.9665, allocations: 51.98 kB / 0.7172 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001344/0.9679, allocations: 0.8795 MB / 0.718 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002671/0.9706, allocations: 415.8 kB / 0.7184 GB, free: 236 kB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * 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.0003381/0.9709, allocations: 182.7 kB / 0.7186 GB, free: 44 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002273/0.9732, allocations: 1.574 MB / 0.7201 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.9732, allocations: 4 kB / 0.7201 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005359/0.9738, allocations: 430.7 kB / 0.7205 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008777/0.9746, allocations: 178.8 kB / 0.7207 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006687/0.9813, allocations: 3.722 MB / 0.7243 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002671/0.984, allocations: 2.242 MB / 0.7265 GB, free: 7.648 MB / 0.5105 GB Notification: Performance of SimCode: time 7.61e-07/0.9841, allocations: 0 / 0.7265 GB, free: 7.648 MB / 0.5105 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)