Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.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.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",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.001085/0.001085, allocations: 194 kB / 7.808 MB, free: 2.434 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.367/1.367, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0009977/0.0009981, allocations: 75.39 kB / 261.4 MB, free: 13.55 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.2081/0.2081, allocations: 43.49 MB / 352.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2315/0.4397, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.7685, allocations: 58.83 MB / 476.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.9175, allocations: 95.67 MB / 0.5589 GB, free: 3.242 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003748/0.9179, allocations: 87.44 kB / 0.559 GB, free: 3.16 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: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.209/1.127, allocations: 69.54 MB / 0.6269 GB, free: 12.88 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/1.127, allocations: 12 kB / 0.6269 GB, free: 12.86 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0148/1.142, allocations: 2.654 MB / 0.6295 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007899/1.15, allocations: 2.075 MB / 0.6315 GB, free: 8.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/1.15, allocations: 116 kB / 0.6316 GB, free: 7.957 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002337/1.152, allocations: 204 kB / 0.6318 GB, free: 7.758 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01506/1.168, allocations: 6.524 MB / 0.6382 GB, free: 1.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2173/1.385, allocations: 8.583 MB / 0.6466 GB, free: 170.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-05/1.385, allocations: 16.72 kB / 0.6466 GB, free: 170.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004704/1.385, allocations: 11.91 kB / 0.6466 GB, free: 170.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001168/1.387, allocations: 1.118 MB / 0.6477 GB, free: 170.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03437/1.421, allocations: 26.72 MB / 0.6738 GB, free: 158.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/1.425, allocations: 2.675 MB / 0.6764 GB, free: 157.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/1.426, allocations: 0.8956 MB / 0.6773 GB, free: 156.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/1.427, allocations: 1.633 MB / 0.6789 GB, free: 155.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/1.427, allocations: 39.34 kB / 0.6789 GB, free: 155.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=162): time 5.3e-06/1.427, allocations: 3.938 kB / 0.6789 GB, free: 155.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=162): time 0.004743/1.432, allocations: 2.241 MB / 0.6811 GB, free: 154.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.432, allocations: 62.91 kB / 0.6812 GB, free: 154.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004573/1.437, allocations: 2.096 MB / 0.6832 GB, free: 153.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001334/1.437, allocations: 28.89 kB / 0.6832 GB, free: 153.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001901/1.439, allocations: 2.556 MB / 0.6857 GB, free: 152.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006217/1.44, allocations: 0.5934 MB / 0.6863 GB, free: 151.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/1.44, allocations: 0 / 0.6863 GB, free: 151.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004093/1.44, allocations: 0.5587 MB / 0.6869 GB, free: 151.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/1.442, allocations: 1.39 MB / 0.6882 GB, free: 150.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002907/1.445, allocations: 4.373 MB / 0.6925 GB, free: 146.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003056/1.448, allocations: 2.557 MB / 0.695 GB, free: 145.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-05/1.448, allocations: 33.31 kB / 0.695 GB, free: 145.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=642) (initialization): time 0.009486/1.458, allocations: 5.083 MB / 0.7 GB, free: 143.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/1.458, allocations: 5.125 kB / 0.7 GB, free: 143.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003946/1.458, allocations: 106.9 kB / 0.7001 GB, free: 143.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/1.459, allocations: 156.5 kB / 0.7002 GB, free: 143.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004213/1.463, allocations: 1.066 MB / 0.7013 GB, free: 143.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002288/1.463, allocations: 211.5 kB / 0.7015 GB, free: 143.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/1.467, allocations: 0.5276 MB / 0.702 GB, free: 143.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/1.469, allocations: 302.8 kB / 0.7023 GB, free: 143.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (594): * Single equations (assignments): 588 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001624/1.47, allocations: 368.9 kB / 0.7026 GB, free: 143.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009052/1.471, allocations: 218.1 kB / 0.7028 GB, free: 142.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005287/1.477, allocations: 2.113 MB / 0.7049 GB, free: 142.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.384e-05/1.477, allocations: 11.16 kB / 0.7049 GB, free: 142.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/1.477, allocations: 8.625 kB / 0.7049 GB, free: 142.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.477, allocations: 6.859 kB / 0.7049 GB, free: 142.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/1.49, allocations: 6.414 MB / 0.7112 GB, free: 137.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/1.49, allocations: 16 kB / 0.7112 GB, free: 137.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008802/1.491, allocations: 191.8 kB / 0.7114 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.005e-05/1.491, allocations: 12 kB / 0.7114 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/1.491, allocations: 27.94 kB / 0.7114 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.566e-05/1.491, allocations: 15.94 kB / 0.7114 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.491, allocations: 15.94 kB / 0.7115 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003101/1.494, allocations: 3.025 MB / 0.7144 GB, free: 134 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002891/1.497, allocations: 3.425 MB / 0.7178 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006973/1.498, allocations: 300.8 kB / 0.718 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006143/1.498, allocations: 15.7 kB / 0.7181 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009794/1.499, allocations: 22.98 kB / 0.7181 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.499, allocations: 90.91 kB / 0.7182 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/1.5, allocations: 59.42 kB / 0.7182 GB, free: 129.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002473/1.502, allocations: 1.366 MB / 0.7196 GB, free: 128.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005179/1.507, allocations: 0.9342 MB / 0.7205 GB, free: 127.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 106 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004415/1.508, allocations: 146.1 kB / 0.7206 GB, free: 127.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007009/1.515, allocations: 3.331 MB / 0.7239 GB, free: 124.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.625e-05/1.515, allocations: 4.75 kB / 0.7239 GB, free: 124.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/1.516, allocations: 0.9423 MB / 0.7248 GB, free: 123.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/1.518, allocations: 165.3 kB / 0.7249 GB, free: 123.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/1.533, allocations: 6.447 MB / 0.7312 GB, free: 117.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00568/1.539, allocations: 3.268 MB / 0.7344 GB, free: 115.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.473e-06/1.539, allocations: 0 / 0.7344 GB, free: 115.1 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)