Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",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.001644/0.001644, allocations: 195.2 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 225.5 MB / 234.4 MB, free: 3.32 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009048/0.0009048, allocations: 92.89 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1673/0.1673, allocations: 45.14 MB / 383.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1795/0.3468, allocations: 69.36 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07733/0.4242, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/0.6648, allocations: 95.57 MB / 0.5972 GB, free: 7.586 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.665, allocations: 79.14 kB / 0.5973 GB, free: 7.547 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.09174/0.7567, allocations: 36.17 MB / 0.6326 GB, free: 8.375 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.7568, allocations: 8 kB / 0.6326 GB, free: 8.367 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006211/0.763, allocations: 1.338 MB / 0.6339 GB, free: 7.027 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.7648, allocations: 1.027 MB / 0.6349 GB, free: 6.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.104e-05/0.7648, allocations: 52 kB / 0.635 GB, free: 6.109 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/0.7651, allocations: 104 kB / 0.6351 GB, free: 6.008 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003469/0.7686, allocations: 2.834 MB / 0.6378 GB, free: 4.086 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005181/0.7738, allocations: 4.718 MB / 0.6424 GB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.256e-05/0.7738, allocations: 31.66 kB / 0.6425 GB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.7741, allocations: 23.94 kB / 0.6425 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004425/0.7745, allocations: 0.5367 MB / 0.643 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01962/0.7942, allocations: 23.74 MB / 0.6662 GB, free: 7.898 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.7961, allocations: 1.147 MB / 0.6673 GB, free: 6.613 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006414/0.7968, allocations: 338.4 kB / 0.6676 GB, free: 6.273 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.7968, allocations: 4 kB / 0.6676 GB, free: 6.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.7968, allocations: 34.56 kB / 0.6677 GB, free: 6.227 MB / 458.7 MB Notification: Performance of pre-optimization done (n=60): time 4.028e-06/0.7969, allocations: 4 kB / 0.6677 GB, free: 6.223 MB / 458.7 MB Notification: Performance of matching and sorting (n=60): time 0.001816/0.7987, allocations: 0.7498 MB / 0.6684 GB, free: 5.469 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.7988, allocations: 110.8 kB / 0.6685 GB, free: 5.336 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/0.8023, allocations: 1.731 MB / 0.6702 GB, free: 3.605 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.8023, allocations: 25.7 kB / 0.6702 GB, free: 3.574 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.8038, allocations: 1.635 MB / 0.6718 GB, free: 1.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.8041, allocations: 261 kB / 0.6721 GB, free: 1.652 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.8042, allocations: 0 / 0.6721 GB, free: 1.652 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004007/0.8046, allocations: 490.4 kB / 0.6725 GB, free: 1.164 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.8065, allocations: 0.858 MB / 0.6734 GB, free: 312 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003688/0.8102, allocations: 3.227 MB / 0.6765 GB, free: 11.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/0.8137, allocations: 1.725 MB / 0.6782 GB, free: 10.15 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.019e-05/0.8138, allocations: 24 kB / 0.6782 GB, free: 10.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=455) (initialization): time 0.008489/0.8223, allocations: 3.448 MB / 0.6816 GB, free: 6.672 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.8224, allocations: 8 kB / 0.6816 GB, free: 6.664 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001432/0.8225, allocations: 84 kB / 0.6817 GB, free: 6.582 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/0.8227, allocations: 124 kB / 0.6818 GB, free: 6.461 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003661/0.8264, allocations: 0.7876 MB / 0.6826 GB, free: 5.672 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001791/0.8266, allocations: 167.6 kB / 0.6827 GB, free: 5.508 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/0.8298, allocations: 431.2 kB / 0.6831 GB, free: 5.082 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/0.8302, allocations: 224 kB / 0.6834 GB, free: 4.863 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * Number of states: 0 () * Number of discrete variables: 12 (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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (431): * Single equations (assignments): 428 * Array equations: 3 * 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.0003738/0.8305, allocations: 314.7 kB / 0.6837 GB, free: 4.547 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.8308, allocations: 153.9 kB / 0.6838 GB, free: 4.395 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.8312, allocations: 186.7 kB / 0.684 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/0.8312, allocations: 4 kB / 0.684 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.8312, allocations: 0 / 0.684 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.8312, allocations: 4 kB / 0.684 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.8344, allocations: 1.654 MB / 0.6856 GB, free: 2.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.8344, allocations: 0 / 0.6856 GB, free: 2.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.8348, allocations: 55.97 kB / 0.6857 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.8348, allocations: 0 / 0.6857 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.8348, allocations: 4 kB / 0.6857 GB, free: 2.441 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.8349, allocations: 7.844 kB / 0.6857 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.8349, allocations: 8 kB / 0.6857 GB, free: 2.426 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001292/0.8362, allocations: 1.044 MB / 0.6867 GB, free: 1.34 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001133/0.8373, allocations: 1.457 MB / 0.6881 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.8376, allocations: 222.9 kB / 0.6883 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.8378, allocations: 0 / 0.6883 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/0.8383, allocations: 23.98 kB / 0.6884 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.8384, allocations: 15.97 kB / 0.6884 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.8384, allocations: 20 kB / 0.6884 GB, free: 15.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001368/0.8398, allocations: 1.141 MB / 0.6895 GB, free: 14.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002799/0.8426, allocations: 470.4 kB / 0.69 GB, free: 13.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * Array equations: 3 * 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.0002648/0.8429, allocations: 135.1 kB / 0.6901 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002438/0.8453, allocations: 1.962 MB / 0.692 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8453, allocations: 0 / 0.692 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.8457, allocations: 331.8 kB / 0.6923 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.8463, allocations: 131.1 kB / 0.6924 GB, free: 11.42 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005339/0.8517, allocations: 3.032 MB / 0.6954 GB, free: 8.332 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002053/0.8538, allocations: 1.973 MB / 0.6973 GB, free: 6.324 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.8538, allocations: 0 / 0.6973 GB, free: 6.324 MB / 490.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)