Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",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.001801/0.001801, allocations: 185.1 kB / 7.8 MB, free: 2.5 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.237/1.237, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0008823/0.0008822, allocations: 97.31 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.186/0.186, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1858/0.3718, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.7111, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.8752, allocations: 106.5 MB / 0.5694 GB, free: 8.414 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.8755, allocations: 87.44 kB / 0.5695 GB, free: 8.332 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.1594/1.035, allocations: 57.62 MB / 0.6258 GB, free: 14.21 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/1.035, allocations: 12 kB / 0.6258 GB, free: 14.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/1.039, allocations: 435.8 kB / 0.6262 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005459/1.044, allocations: 1.559 MB / 0.6278 GB, free: 12.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/1.044, allocations: 92 kB / 0.6278 GB, free: 12.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/1.046, allocations: 163.9 kB / 0.628 GB, free: 11.91 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007901/1.053, allocations: 3.886 MB / 0.6318 GB, free: 8.016 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/1.065, allocations: 5.047 MB / 0.6367 GB, free: 2.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/1.066, allocations: 11.88 kB / 0.6367 GB, free: 2.648 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000855/1.066, allocations: 12 kB / 0.6367 GB, free: 2.637 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001063/1.068, allocations: 0.5475 MB / 0.6373 GB, free: 2.082 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2516/1.319, allocations: 20.29 MB / 0.6571 GB, free: 166 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/1.32, allocations: 0.8385 MB / 0.6579 GB, free: 165.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007115/1.321, allocations: 0.6433 MB / 0.6585 GB, free: 165.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005227/1.326, allocations: 4.661 MB / 0.6631 GB, free: 163.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/1.326, allocations: 48.52 kB / 0.6631 GB, free: 163.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 2.635e-06/1.326, allocations: 0 / 0.6631 GB, free: 163.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=88): time 0.01668/1.343, allocations: 5.647 MB / 0.6686 GB, free: 162.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/1.343, allocations: 90.77 kB / 0.6687 GB, free: 162.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/1.346, allocations: 1.462 MB / 0.6702 GB, free: 162.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.492e-05/1.346, allocations: 25.7 kB / 0.6702 GB, free: 162.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009374/1.347, allocations: 1.634 MB / 0.6718 GB, free: 161.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/1.347, allocations: 336.2 kB / 0.6721 GB, free: 161 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/1.347, allocations: 0 / 0.6721 GB, free: 161 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002903/1.348, allocations: 475.7 kB / 0.6726 GB, free: 160.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/1.349, allocations: 0.8718 MB / 0.6734 GB, free: 160.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/1.351, allocations: 2.524 MB / 0.6759 GB, free: 157.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/1.353, allocations: 1.686 MB / 0.6775 GB, free: 157.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-05/1.353, allocations: 18.59 kB / 0.6775 GB, free: 157.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=369) (initialization): time 0.005021/1.359, allocations: 3.292 MB / 0.6808 GB, free: 156.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/1.359, allocations: 3.688 kB / 0.6808 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.76e-05/1.359, allocations: 59.94 kB / 0.6808 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.773e-05/1.359, allocations: 88.59 kB / 0.6809 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/1.361, allocations: 0.6997 MB / 0.6816 GB, free: 156.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-05/1.361, allocations: 117.5 kB / 0.6817 GB, free: 156.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/1.363, allocations: 86.48 kB / 0.6818 GB, free: 156.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/1.363, allocations: 172.3 kB / 0.6819 GB, free: 156.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * Number of states: 0 () * Number of discrete variables: 34 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (369): * Single equations (assignments): 369 * 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.0003473/1.364, allocations: 274.5 kB / 0.6822 GB, free: 155.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/1.364, allocations: 151.4 kB / 0.6823 GB, free: 155.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/1.366, allocations: 1.523 MB / 0.6838 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/1.366, allocations: 7.531 kB / 0.6838 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.366, allocations: 0 / 0.6838 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.366, allocations: 7.234 kB / 0.6838 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006621/1.373, allocations: 4.129 MB / 0.6879 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/1.373, allocations: 4.281 kB / 0.6879 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/1.374, allocations: 191 kB / 0.6881 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.668e-05/1.374, allocations: 12.83 kB / 0.6881 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/1.374, allocations: 6.875 kB / 0.6881 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/1.374, allocations: 9.688 kB / 0.6881 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.374, allocations: 9.438 kB / 0.6881 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002328/1.376, allocations: 1.845 MB / 0.6899 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002302/1.379, allocations: 2.233 MB / 0.6921 GB, free: 150.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/1.379, allocations: 227.5 kB / 0.6923 GB, free: 150.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/1.379, allocations: 11.97 kB / 0.6923 GB, free: 150.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007018/1.38, allocations: 32.62 kB / 0.6923 GB, free: 150.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/1.38, allocations: 53.23 kB / 0.6924 GB, free: 150.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.857e-05/1.38, allocations: 34.88 kB / 0.6924 GB, free: 150.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001278/1.381, allocations: 0.9793 MB / 0.6934 GB, free: 149.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0029/1.384, allocations: 479.2 kB / 0.6938 GB, free: 149.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.0003524/1.385, allocations: 164.2 kB / 0.694 GB, free: 149.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002638/1.387, allocations: 2.022 MB / 0.696 GB, free: 149.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.387, allocations: 1.25 kB / 0.696 GB, free: 149.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008081/1.388, allocations: 0.5819 MB / 0.6965 GB, free: 148.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007032/1.389, allocations: 140.7 kB / 0.6967 GB, free: 148.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007491/1.396, allocations: 3.961 MB / 0.7005 GB, free: 146.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002295/1.399, allocations: 2.371 MB / 0.7029 GB, free: 144.8 MB / 474.7 MB Notification: Performance of SimCode: time 8.11e-07/1.399, allocations: 0 / 0.7029 GB, free: 144.8 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)