Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",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.001194/0.001194, allocations: 185 kB / 7.801 MB, free: 2.445 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.341/1.341, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009848/0.0009844, allocations: 99.38 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.1958/0.1958, allocations: 43.49 MB / 352.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2159/0.4118, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.7706, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.9214, allocations: 103.8 MB / 0.5669 GB, free: 11.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.9217, allocations: 79.45 kB / 0.567 GB, free: 10.94 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.1028/1.024, allocations: 34.84 MB / 0.601 GB, free: 7.895 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/1.025, allocations: 12 kB / 0.601 GB, free: 7.883 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/1.026, allocations: 333.5 kB / 0.6013 GB, free: 7.555 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008267/1.035, allocations: 2.979 MB / 0.6042 GB, free: 4.527 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.523e-05/1.035, allocations: 48 kB / 0.6043 GB, free: 4.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005451/1.035, allocations: 91.91 kB / 0.6044 GB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004073/1.039, allocations: 1.885 MB / 0.6062 GB, free: 2.504 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005315/1.045, allocations: 2.615 MB / 0.6088 GB, free: 15.67 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.238e-05/1.045, allocations: 15.88 kB / 0.6088 GB, free: 15.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/1.045, allocations: 8 kB / 0.6088 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005901/1.046, allocations: 298 kB / 0.6091 GB, free: 15.35 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01585/1.062, allocations: 12.3 MB / 0.6211 GB, free: 2.609 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/1.062, allocations: 449 kB / 0.6215 GB, free: 2.156 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/1.063, allocations: 392.9 kB / 0.6219 GB, free: 1.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003482/1.066, allocations: 2.341 MB / 0.6242 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/1.066, allocations: 39 kB / 0.6242 GB, free: 15.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=51): time 2.885e-06/1.066, allocations: 0 / 0.6242 GB, free: 15.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.008435/1.075, allocations: 2.936 MB / 0.6271 GB, free: 12.15 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/1.075, allocations: 81.61 kB / 0.6271 GB, free: 12.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/1.076, allocations: 0.9587 MB / 0.6281 GB, free: 11.08 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/1.076, allocations: 25.7 kB / 0.6281 GB, free: 11.05 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000514/1.077, allocations: 0.8454 MB / 0.6289 GB, free: 10.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/1.077, allocations: 209.2 kB / 0.6291 GB, free: 9.977 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/1.077, allocations: 4 kB / 0.6291 GB, free: 9.973 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000214/1.077, allocations: 426.7 kB / 0.6295 GB, free: 9.547 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/1.078, allocations: 375.9 kB / 0.6299 GB, free: 9.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/1.079, allocations: 1.205 MB / 0.6311 GB, free: 7.551 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008613/1.08, allocations: 0.6602 MB / 0.6317 GB, free: 6.887 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.08, allocations: 8 kB / 0.6317 GB, free: 6.879 MB / 474.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002294/1.082, allocations: 1.476 MB / 0.6332 GB, free: 5.395 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.082, allocations: 8 kB / 0.6332 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/1.082, allocations: 28.09 kB / 0.6332 GB, free: 5.359 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/1.083, allocations: 96.83 kB / 0.6333 GB, free: 5.262 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/1.084, allocations: 363.3 kB / 0.6336 GB, free: 4.906 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/1.085, allocations: 1.611 MB / 0.6352 GB, free: 3.176 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000955/1.086, allocations: 35.91 kB / 0.6352 GB, free: 3.141 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/1.086, allocations: 92.11 kB / 0.6353 GB, free: 3.051 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (192): * Single equations (assignments): 191 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000237/1.087, allocations: 196.1 kB / 0.6355 GB, free: 2.855 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/1.087, allocations: 110.7 kB / 0.6356 GB, free: 2.746 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/1.088, allocations: 0.6607 MB / 0.6363 GB, free: 2.062 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/1.088, allocations: 4 kB / 0.6363 GB, free: 2.059 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.088, allocations: 4 kB / 0.6363 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/1.088, allocations: 0 / 0.6363 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/1.091, allocations: 1.888 MB / 0.6381 GB, free: 60 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.091, allocations: 4 kB / 0.6381 GB, free: 56 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1821/1.273, allocations: 96.83 kB / 0.6382 GB, free: 182.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002245/1.273, allocations: 63.45 kB / 0.6383 GB, free: 182.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.282e-05/1.273, allocations: 7.5 kB / 0.6383 GB, free: 182.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/1.275, allocations: 1.634 MB / 0.6399 GB, free: 181.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.275, allocations: 8.75 kB / 0.6399 GB, free: 181.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001186/1.276, allocations: 1.247 MB / 0.6411 GB, free: 180.6 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001379/1.277, allocations: 1.927 MB / 0.643 GB, free: 179.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003112/1.278, allocations: 212.8 kB / 0.6432 GB, free: 179.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/1.278, allocations: 9.188 kB / 0.6432 GB, free: 179.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/1.278, allocations: 15 kB / 0.6432 GB, free: 179.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/1.278, allocations: 44.53 kB / 0.6433 GB, free: 179.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/1.278, allocations: 19.22 kB / 0.6433 GB, free: 179.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0008906/1.279, allocations: 0.6687 MB / 0.6439 GB, free: 179.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001981/1.281, allocations: 267.6 kB / 0.6442 GB, free: 179.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002151/1.281, allocations: 125.3 kB / 0.6443 GB, free: 179.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001264/1.283, allocations: 0.9906 MB / 0.6453 GB, free: 179.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.283, allocations: 0 / 0.6453 GB, free: 179.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004041/1.283, allocations: 376.8 kB / 0.6456 GB, free: 179.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/1.284, allocations: 140 kB / 0.6458 GB, free: 179.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/1.287, allocations: 2.183 MB / 0.6479 GB, free: 178.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/1.288, allocations: 1.569 MB / 0.6494 GB, free: 177.8 MB / 474.7 MB Notification: Performance of SimCode: time 6.62e-07/1.288, allocations: 3.312 kB / 0.6494 GB, free: 177.8 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1)