Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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) 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(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",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.001027/0.001027, allocations: 182.6 kB / 8.133 MB, free: 2.215 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.196/1.196, allocations: 221.4 MB / 229.9 MB, free: 3.137 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.000976/0.0009759, allocations: 102.9 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08813/0.08914, allocations: 55.82 MB / 336.6 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.2652, allocations: 50.39 MB / 387 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.3784, allocations: 114.8 MB / 0.49 GB, free: 3.914 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.3787, allocations: 91.89 kB / 0.4901 GB, free: 3.824 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2627 * Number of variables: 2627 Notification: Performance of Generate backend data structure: time 0.4694/0.8481, allocations: 143.6 MB / 0.6304 GB, free: 15.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.8482, allocations: 8 kB / 0.6304 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/0.8606, allocations: 2.427 MB / 0.6328 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01902/0.8796, allocations: 7.766 MB / 0.6403 GB, free: 5.754 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003063/0.8799, allocations: 252 kB / 0.6406 GB, free: 5.508 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002282/0.8822, allocations: 471.8 kB / 0.641 GB, free: 5.047 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01956/0.9018, allocations: 11.65 MB / 0.6524 GB, free: 9.395 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2348/1.137, allocations: 16.57 MB / 0.6686 GB, free: 92.36 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002539/1.137, allocations: 82.88 kB / 0.6687 GB, free: 92.36 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/1.138, allocations: 41.25 kB / 0.6687 GB, free: 92.36 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001995/1.14, allocations: 1.777 MB / 0.6704 GB, free: 92.34 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07591/1.216, allocations: 80.85 MB / 0.7494 GB, free: 51.05 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00596/1.222, allocations: 5.729 MB / 0.755 GB, free: 50.39 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004834/1.227, allocations: 4.838 MB / 0.7597 GB, free: 49.35 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01825/1.245, allocations: 13.99 MB / 0.7734 GB, free: 42.32 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/1.245, allocations: 67.19 kB / 0.7734 GB, free: 42.26 MB / 442.8 MB Notification: Performance of pre-optimization done (n=313): time 6.112e-06/1.245, allocations: 0 / 0.7734 GB, free: 42.26 MB / 442.8 MB Notification: Performance of matching and sorting (n=383): time 0.08663/1.332, allocations: 39.57 MB / 0.8121 GB, free: 28.11 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/1.332, allocations: 169 kB / 0.8123 GB, free: 27.95 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006401/1.338, allocations: 4.658 MB / 0.8168 GB, free: 26.13 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00075/1.339, allocations: 29.7 kB / 0.8168 GB, free: 26.09 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001751/1.341, allocations: 4.676 MB / 0.8214 GB, free: 21.9 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001456/1.342, allocations: 1.379 MB / 0.8227 GB, free: 20.66 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005092/1.343, allocations: 0 / 0.8227 GB, free: 20.66 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0003975/1.343, allocations: 0.7247 MB / 0.8234 GB, free: 20.04 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005122/1.348, allocations: 4.374 MB / 0.8277 GB, free: 16.13 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006931/1.355, allocations: 9.78 MB / 0.8373 GB, free: 4.457 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1344/1.49, allocations: 6.553 MB / 0.8437 GB, free: 90.19 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/1.49, allocations: 53.16 kB / 0.8437 GB, free: 90.19 MB / 442.8 MB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.03156/1.521, allocations: 16.4 MB / 0.8597 GB, free: 89.63 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/1.521, allocations: 7.062 kB / 0.8597 GB, free: 89.63 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001855/1.522, allocations: 196.6 kB / 0.8599 GB, free: 89.63 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01157/1.533, allocations: 3.531 MB / 0.8634 GB, free: 89.58 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008247/1.541, allocations: 2.241 MB / 0.8656 GB, free: 89.39 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02876/1.57, allocations: 24.87 MB / 0.8899 GB, free: 80.76 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008451/1.579, allocations: 357.9 kB / 0.8902 GB, free: 80.76 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/1.58, allocations: 0.5971 MB / 0.8908 GB, free: 80.76 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 68 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1183): * Single equations (assignments): 1168 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 19,(1,100.0%) 6,(4,75.0%) 22,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001339/1.581, allocations: 0.6024 MB / 0.8914 GB, free: 80.45 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000915/1.582, allocations: 0.5269 MB / 0.8919 GB, free: 80.45 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01898/1.601, allocations: 10.15 MB / 0.9018 GB, free: 79.91 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01626/1.617, allocations: 8.809 MB / 0.9104 GB, free: 79.46 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0171/1.635, allocations: 9.25 MB / 0.9194 GB, free: 78.96 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.476e-05/1.635, allocations: 19.64 kB / 0.9194 GB, free: 78.96 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04139/1.676, allocations: 22.86 MB / 0.9418 GB, free: 70.82 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/1.676, allocations: 3.594 kB / 0.9418 GB, free: 70.82 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003533/1.68, allocations: 0.5883 MB / 0.9423 GB, free: 70.78 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00958/1.689, allocations: 2.806 MB / 0.9451 GB, free: 70.21 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005681/1.69, allocations: 19.66 kB / 0.9451 GB, free: 70.21 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02438/1.714, allocations: 19.06 MB / 0.9637 GB, free: 53.42 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005617/1.72, allocations: 5.183 MB / 0.9688 GB, free: 48.49 MB / 442.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02498/1.745, allocations: 15.17 MB / 0.9836 GB, free: 35.25 MB / 442.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1599/1.905, allocations: 20.87 MB / 1.004 GB, free: 85.18 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/1.906, allocations: 0.5499 MB / 1.005 GB, free: 85.09 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/1.907, allocations: 15.33 kB / 1.005 GB, free: 85.09 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003161/1.911, allocations: 133.8 kB / 1.005 GB, free: 85.09 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005246/1.911, allocations: 176.4 kB / 1.005 GB, free: 85.09 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003598/1.912, allocations: 100.9 kB / 1.005 GB, free: 85.09 MB / 442.8 MB Notification: Performance of sort global known variables: time 0.004331/1.916, allocations: 3.144 MB / 1.008 GB, free: 84.91 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.008457/1.924, allocations: 1.848 MB / 1.01 GB, free: 84.91 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (294): * Single equations (assignments): 286 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 19,(3,100.0%) 16,(3,100.0%) 7} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008442/1.925, allocations: 235.5 kB / 1.01 GB, free: 84.82 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01463/1.94, allocations: 11.13 MB / 1.021 GB, free: 84.06 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/1.94, allocations: 4.969 kB / 1.021 GB, free: 84.06 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006602/1.946, allocations: 4.497 MB / 1.025 GB, free: 83.62 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/1.95, allocations: 0.6503 MB / 1.026 GB, free: 83.6 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02647/1.976, allocations: 14.92 MB / 1.04 GB, free: 80.82 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007673/1.984, allocations: 5.967 MB / 1.046 GB, free: 79.93 MB / 442.8 MB Notification: Performance of SimCode: time 1.042e-06/1.984, allocations: 0 / 1.046 GB, free: 79.93 MB / 442.8 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)