Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001929/0.001929, allocations: 198.6 kB / 8.539 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 225.5 MB / 234.4 MB, free: 3.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009462/0.0009462, allocations: 91.7 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1744/0.1744, allocations: 45.14 MB / 383.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1908/0.3652, allocations: 69.36 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08201/0.4472, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2704/0.7176, allocations: 106.5 MB / 0.6079 GB, free: 12.54 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001773/0.7178, allocations: 77.02 kB / 0.608 GB, free: 12.5 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.09801/0.8159, allocations: 35.95 MB / 0.6431 GB, free: 13.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.8159, allocations: 8 kB / 0.6431 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.8172, allocations: 325.1 kB / 0.6434 GB, free: 13.37 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005444/0.8227, allocations: 2.298 MB / 0.6456 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/0.8227, allocations: 55.84 kB / 0.6457 GB, free: 11.35 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.823, allocations: 91 kB / 0.6458 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002798/0.8258, allocations: 1.881 MB / 0.6476 GB, free: 10 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003292/0.8291, allocations: 2.608 MB / 0.6502 GB, free: 7.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.138e-05/0.8291, allocations: 19.78 kB / 0.6502 GB, free: 7.801 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.8293, allocations: 12 kB / 0.6502 GB, free: 7.789 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005194/0.8298, allocations: 297 kB / 0.6505 GB, free: 7.539 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.843, allocations: 12.27 MB / 0.6625 GB, free: 12.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/0.8436, allocations: 451.7 kB / 0.6629 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/0.8441, allocations: 388.5 kB / 0.6633 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003112/0.8473, allocations: 2.341 MB / 0.6656 GB, free: 9.324 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.8473, allocations: 42.98 kB / 0.6656 GB, free: 9.273 MB / 458.7 MB Notification: Performance of pre-optimization done (n=51): time 2.875e-06/0.8473, allocations: 0 / 0.6656 GB, free: 9.273 MB / 458.7 MB Notification: Performance of matching and sorting (n=57): time 0.00811/0.8554, allocations: 2.866 MB / 0.6684 GB, free: 6.305 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.8555, allocations: 81.61 kB / 0.6685 GB, free: 6.207 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.8568, allocations: 0.9502 MB / 0.6694 GB, free: 5.242 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.8568, allocations: 25.7 kB / 0.6694 GB, free: 5.211 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/0.8573, allocations: 0.8338 MB / 0.6702 GB, free: 4.359 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.8575, allocations: 213.1 kB / 0.6704 GB, free: 4.148 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.8575, allocations: 0 / 0.6704 GB, free: 4.148 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.8577, allocations: 426.7 kB / 0.6708 GB, free: 3.723 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005556/0.8583, allocations: 379.9 kB / 0.6712 GB, free: 3.352 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009925/0.8593, allocations: 1.209 MB / 0.6724 GB, free: 1.723 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008376/0.8601, allocations: 0.6602 MB / 0.673 GB, free: 1.062 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.8602, allocations: 8 kB / 0.673 GB, free: 1.055 MB / 458.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002298/0.8625, allocations: 1.48 MB / 0.6745 GB, free: 15.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.8625, allocations: 7.281 kB / 0.6745 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/0.8625, allocations: 32.75 kB / 0.6745 GB, free: 15.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/0.8627, allocations: 96.88 kB / 0.6746 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.864, allocations: 367.3 kB / 0.675 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.8654, allocations: 1.603 MB / 0.6765 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009386/0.8663, allocations: 32 kB / 0.6766 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.8664, allocations: 87.98 kB / 0.6766 GB, free: 13.24 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.0002179/0.8667, allocations: 198.8 kB / 0.6768 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.8668, allocations: 102.7 kB / 0.6769 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.8679, allocations: 0.6646 MB / 0.6776 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.868, allocations: 4 kB / 0.6776 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.868, allocations: 4 kB / 0.6776 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.868, allocations: 4 kB / 0.6776 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/0.8711, allocations: 1.884 MB / 0.6794 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.8711, allocations: 7.938 kB / 0.6794 GB, free: 10.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.8716, allocations: 99.83 kB / 0.6795 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.8718, allocations: 65.33 kB / 0.6796 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.8718, allocations: 4 kB / 0.6796 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.8732, allocations: 1.638 MB / 0.6812 GB, free: 8.312 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.8733, allocations: 4 kB / 0.6812 GB, free: 8.309 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001345/0.8746, allocations: 1.251 MB / 0.6824 GB, free: 6.91 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001771/0.8764, allocations: 1.919 MB / 0.6843 GB, free: 4.832 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.8766, allocations: 175.7 kB / 0.6845 GB, free: 4.641 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.8768, allocations: 12 kB / 0.6845 GB, free: 4.629 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.8772, allocations: 15.98 kB / 0.6845 GB, free: 4.613 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.8773, allocations: 43.81 kB / 0.6845 GB, free: 4.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.8773, allocations: 20 kB / 0.6846 GB, free: 4.551 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0008485/0.8782, allocations: 0.6565 MB / 0.6852 GB, free: 3.887 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001975/0.8802, allocations: 271.9 kB / 0.6855 GB, free: 3.621 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.0002175/0.8804, allocations: 123 kB / 0.6856 GB, free: 3.492 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.8819, allocations: 0.9935 MB / 0.6865 GB, free: 2.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.8819, allocations: 4 kB / 0.6865 GB, free: 2.496 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.8824, allocations: 373.4 kB / 0.6869 GB, free: 2.121 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007237/0.8831, allocations: 133.8 kB / 0.687 GB, free: 1.988 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/0.887, allocations: 2.193 MB / 0.6892 GB, free: 15.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/0.8884, allocations: 1.561 MB / 0.6907 GB, free: 14.11 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.8884, allocations: 0 / 0.6907 GB, free: 14.11 MB / 490.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1)