Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.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.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_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.001213/0.001213, allocations: 191 kB / 7.803 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.387/1.387, 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.0008981/0.0008978, allocations: 92.77 kB / 261.4 MB, free: 13.61 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.1809/0.1809, allocations: 43.48 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2208/0.4017, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.715, allocations: 58.83 MB / 476.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.8652, allocations: 115.4 MB / 0.5782 GB, free: 15.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.8655, allocations: 79.91 kB / 0.5782 GB, free: 15.38 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.6643/1.53, allocations: 156.4 MB / 0.731 GB, free: 76.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.53, allocations: 8 kB / 0.731 GB, free: 76.26 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02695/1.557, allocations: 5.809 MB / 0.7367 GB, free: 70.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02306/1.58, allocations: 8.458 MB / 0.7449 GB, free: 61.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005876/1.581, allocations: 228 kB / 0.7451 GB, free: 61.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004955/1.586, allocations: 423.8 kB / 0.7455 GB, free: 61.35 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02291/1.609, allocations: 12.06 MB / 0.7573 GB, free: 49.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03808/1.647, allocations: 16.24 MB / 0.7732 GB, free: 31.71 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005695/1.647, allocations: 87.17 kB / 0.7733 GB, free: 31.62 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00373/1.651, allocations: 39.94 kB / 0.7733 GB, free: 31.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002388/1.653, allocations: 1.843 MB / 0.7751 GB, free: 29.75 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3188/1.972, allocations: 72.21 MB / 0.8456 GB, free: 119 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005356/1.978, allocations: 3.926 MB / 0.8495 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0043/1.982, allocations: 2.939 MB / 0.8523 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02605/2.008, allocations: 15.48 MB / 0.8674 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.587e-05/2.008, allocations: 64.42 kB / 0.8675 GB, free: 113 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=292): time 1.022e-05/2.008, allocations: 0 / 0.8675 GB, free: 113 MB / 0.4948 GB Notification: Performance of matching and sorting (n=352): time 0.04947/2.058, allocations: 17.89 MB / 0.885 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/2.058, allocations: 187.3 kB / 0.8852 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008088/2.066, allocations: 4.691 MB / 0.8897 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00082/2.067, allocations: 25.7 kB / 0.8898 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002839/2.07, allocations: 4.735 MB / 0.8944 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001644/2.071, allocations: 1.27 MB / 0.8956 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004048/2.072, allocations: 0 / 0.8956 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005189/2.072, allocations: 0.7251 MB / 0.8963 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004497/2.077, allocations: 3.207 MB / 0.8995 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006478/2.083, allocations: 8.903 MB / 0.9082 GB, free: 95.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008212/2.092, allocations: 5.671 MB / 0.9137 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001809/2.092, allocations: 57.97 kB / 0.9138 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.03106/2.123, allocations: 12.12 MB / 0.9256 GB, free: 90.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/2.123, allocations: 5.094 kB / 0.9256 GB, free: 90.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006433/2.124, allocations: 205.4 kB / 0.9258 GB, free: 90.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005666/2.129, allocations: 1.307 MB / 0.9271 GB, free: 90.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009232/2.138, allocations: 2.249 MB / 0.9293 GB, free: 89.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/2.157, allocations: 7.222 MB / 0.9363 GB, free: 85.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01546/2.172, allocations: 337.2 kB / 0.9366 GB, free: 85.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003308/2.176, allocations: 0.5813 MB / 0.9372 GB, free: 84.94 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 927 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[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],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1212): * Single equations (assignments): 1205 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003814/2.179, allocations: 0.6068 MB / 0.9378 GB, free: 84.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/2.181, allocations: 0.4994 MB / 0.9383 GB, free: 83.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/2.193, allocations: 5.364 MB / 0.9435 GB, free: 79.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/2.193, allocations: 32 kB / 0.9436 GB, free: 79.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.625e-05/2.193, allocations: 11.09 kB / 0.9436 GB, free: 79.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-05/2.193, allocations: 15.56 kB / 0.9436 GB, free: 79.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03629/2.23, allocations: 12.65 MB / 0.9559 GB, free: 68.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.252e-05/2.23, allocations: 14.62 kB / 0.9559 GB, free: 68.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002775/2.233, allocations: 0.4998 MB / 0.9564 GB, free: 68.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003665/2.236, allocations: 0.8713 MB / 0.9573 GB, free: 67.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006793/2.237, allocations: 23.42 kB / 0.9573 GB, free: 67.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008112/2.245, allocations: 5.007 MB / 0.9622 GB, free: 63.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.738e-05/2.245, allocations: 15.94 kB / 0.9622 GB, free: 63.1 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01611/2.261, allocations: 10.33 MB / 0.9723 GB, free: 53.26 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02666/2.288, allocations: 19.19 MB / 0.991 GB, free: 35.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00321/2.291, allocations: 0.9216 MB / 0.9919 GB, free: 34.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002048/2.293, allocations: 17.69 kB / 0.992 GB, free: 34.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003725/2.297, allocations: 92.84 kB / 0.992 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000589/2.298, allocations: 189.4 kB / 0.9922 GB, free: 34.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003725/2.298, allocations: 103.9 kB / 0.9923 GB, free: 34.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.007177/2.305, allocations: 3.125 MB / 0.9954 GB, free: 31.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01315/2.319, allocations: 1.447 MB / 0.9968 GB, free: 30.05 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 268 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001396/2.32, allocations: 231.2 kB / 0.997 GB, free: 29.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01378/2.334, allocations: 7.572 MB / 1.004 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/2.334, allocations: 0 / 1.004 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004189/2.338, allocations: 2.348 MB / 1.007 GB, free: 20.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/2.342, allocations: 0.4956 MB / 1.007 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03533/2.378, allocations: 12.95 MB / 1.02 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01375/2.391, allocations: 5.752 MB / 1.025 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of SimCode: time 1.693e-06/2.392, allocations: 0 / 1.025 GB, free: 4.102 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1)