Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 171.2 kB / 8.517 MB, free: 1.848 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 221.4 MB / 230.3 MB, free: 7.754 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000905/0.000905, allocations: 99.66 kB / 281.2 MB, free: 5.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1598/0.1598, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1714/0.3312, allocations: 68.02 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08906/0.4203, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2455/0.6659, allocations: 94.52 MB / 0.5865 GB, free: 2.199 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/0.6661, allocations: 76.61 kB / 0.5865 GB, free: 2.125 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.0918/0.7579, allocations: 36.12 MB / 0.6218 GB, free: 13.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.758, allocations: 11.94 kB / 0.6218 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0064/0.7644, allocations: 1.331 MB / 0.6231 GB, free: 12.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.7663, allocations: 1.036 MB / 0.6241 GB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.03e-05/0.7664, allocations: 56 kB / 0.6242 GB, free: 11.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003434/0.7667, allocations: 99.94 kB / 0.6243 GB, free: 11.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003695/0.7705, allocations: 2.832 MB / 0.627 GB, free: 8.191 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005457/0.7759, allocations: 4.707 MB / 0.6316 GB, free: 2.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-05/0.776, allocations: 31.69 kB / 0.6317 GB, free: 2.809 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000261/0.7763, allocations: 27.89 kB / 0.6317 GB, free: 2.781 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004711/0.7767, allocations: 0.5372 MB / 0.6322 GB, free: 2.246 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01771/0.7945, allocations: 23.75 MB / 0.6554 GB, free: 9.645 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.7956, allocations: 1.141 MB / 0.6565 GB, free: 8.367 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/0.796, allocations: 334.6 kB / 0.6569 GB, free: 8.031 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.7961, allocations: 11.92 kB / 0.6569 GB, free: 8.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.7961, allocations: 42.5 kB / 0.6569 GB, free: 7.969 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 3.216e-06/0.7961, allocations: 3.938 kB / 0.6569 GB, free: 7.965 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.001088/0.7972, allocations: 0.7543 MB / 0.6576 GB, free: 7.207 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.7972, allocations: 106.8 kB / 0.6577 GB, free: 7.078 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.7992, allocations: 1.731 MB / 0.6594 GB, free: 5.348 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.7992, allocations: 29.7 kB / 0.6595 GB, free: 5.312 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007889/0.8, allocations: 1.624 MB / 0.661 GB, free: 3.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.8002, allocations: 264.9 kB / 0.6613 GB, free: 3.398 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.8003, allocations: 0 / 0.6613 GB, free: 3.398 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002479/0.8006, allocations: 490.4 kB / 0.6618 GB, free: 2.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.8017, allocations: 0.858 MB / 0.6626 GB, free: 2.051 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.8039, allocations: 3.231 MB / 0.6658 GB, free: 13.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/0.8059, allocations: 1.72 MB / 0.6674 GB, free: 11.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.258e-05/0.806, allocations: 27.91 kB / 0.6675 GB, free: 11.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=455) (initialization): time 0.004844/0.8108, allocations: 3.453 MB / 0.6708 GB, free: 8.418 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8109, allocations: 4 kB / 0.6708 GB, free: 8.414 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.936e-05/0.8109, allocations: 88 kB / 0.6709 GB, free: 8.328 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001097/0.811, allocations: 124 kB / 0.671 GB, free: 8.207 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.8132, allocations: 0.7914 MB / 0.6718 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001049/0.8133, allocations: 163.4 kB / 0.672 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/0.8154, allocations: 427.1 kB / 0.6724 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002527/0.8157, allocations: 224 kB / 0.6726 GB, free: 6.613 MB / 490.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.0003259/0.816, allocations: 314.5 kB / 0.6729 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.8162, allocations: 157.9 kB / 0.673 GB, free: 6.141 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.8165, allocations: 182.7 kB / 0.6732 GB, free: 5.957 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/0.8166, allocations: 4 kB / 0.6732 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.8166, allocations: 3.984 kB / 0.6732 GB, free: 5.949 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.8166, allocations: 4 kB / 0.6732 GB, free: 5.945 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002649/0.8192, allocations: 1.652 MB / 0.6748 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.8192, allocations: 0 / 0.6748 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.8195, allocations: 59.91 kB / 0.6749 GB, free: 4.191 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.8196, allocations: 4 kB / 0.6749 GB, free: 4.188 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.8196, allocations: 0 / 0.6749 GB, free: 4.188 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.8196, allocations: 4 kB / 0.6749 GB, free: 4.184 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8196, allocations: 4.188 kB / 0.6749 GB, free: 4.18 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001022/0.8206, allocations: 1.048 MB / 0.6759 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0011/0.8218, allocations: 1.447 MB / 0.6774 GB, free: 1.621 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.822, allocations: 226.8 kB / 0.6776 GB, free: 1.379 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.8222, allocations: 4 kB / 0.6776 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/0.8227, allocations: 19.98 kB / 0.6776 GB, free: 1.355 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.8228, allocations: 23.97 kB / 0.6776 GB, free: 1.332 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.8229, allocations: 15.98 kB / 0.6776 GB, free: 1.316 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001368/0.8242, allocations: 1.145 MB / 0.6787 GB, free: 184 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.002797/0.827, allocations: 466.5 kB / 0.6792 GB, free: 15.72 MB / 0.4948 GB 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.0002756/0.8273, allocations: 127.1 kB / 0.6793 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002611/0.8299, allocations: 1.963 MB / 0.6812 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.83, allocations: 0 / 0.6812 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.8304, allocations: 335.8 kB / 0.6815 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.831, allocations: 138.1 kB / 0.6817 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.8357, allocations: 3.024 MB / 0.6846 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/0.8376, allocations: 1.977 MB / 0.6866 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.8376, allocations: 0 / 0.6866 GB, free: 8.094 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)