Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.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.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",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.0009908/0.0009909, allocations: 178.6 kB / 8.519 MB, free: 1.828 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.158/1.158, allocations: 221.4 MB / 230.3 MB, free: 7.781 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.0009171/0.0009171, allocations: 83.36 kB / 281.2 MB, free: 5.531 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.1585/0.1585, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1667/0.3252, allocations: 68.04 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.413, allocations: 61.9 MB / 0.4942 GB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2419/0.6549, allocations: 97.47 MB / 0.5894 GB, free: 15.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.6551, allocations: 80.61 kB / 0.5894 GB, free: 15.26 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: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.1941/0.8493, allocations: 77.67 MB / 0.6653 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.8493, allocations: 11.94 kB / 0.6653 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.8621, allocations: 2.674 MB / 0.6679 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004963/0.8671, allocations: 2.438 MB / 0.6703 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.8672, allocations: 116 kB / 0.6704 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006591/0.8679, allocations: 204 kB / 0.6706 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008983/0.8769, allocations: 6.801 MB / 0.6772 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.8882, allocations: 8.977 MB / 0.686 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.455e-05/0.8882, allocations: 19.81 kB / 0.686 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004733/0.8887, allocations: 11.94 kB / 0.686 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00105/0.8898, allocations: 1.163 MB / 0.6872 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1577/1.048, allocations: 33.15 MB / 0.7195 GB, free: 171 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/1.05, allocations: 2.697 MB / 0.7222 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008513/1.051, allocations: 0.906 MB / 0.723 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009247/1.052, allocations: 1.631 MB / 0.7246 GB, free: 168.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/1.052, allocations: 45.62 kB / 0.7247 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=164): time 3.727e-06/1.052, allocations: 3.562 kB / 0.7247 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=164): time 0.003891/1.055, allocations: 2.31 MB / 0.7269 GB, free: 168.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/1.056, allocations: 91.2 kB / 0.727 GB, free: 168.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/1.058, allocations: 2.31 MB / 0.7293 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.026e-05/1.058, allocations: 28.98 kB / 0.7293 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009164/1.059, allocations: 2.671 MB / 0.7319 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/1.059, allocations: 0.6019 MB / 0.7325 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/1.059, allocations: 0 / 0.7325 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002157/1.06, allocations: 0.5254 MB / 0.733 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/1.061, allocations: 1.441 MB / 0.7344 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/1.063, allocations: 4.574 MB / 0.7389 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/1.066, allocations: 2.666 MB / 0.7415 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.385e-05/1.066, allocations: 32.28 kB / 0.7415 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=667) (initialization): time 0.006621/1.073, allocations: 5.33 MB / 0.7467 GB, free: 161 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/1.073, allocations: 3.844 kB / 0.7467 GB, free: 161 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.837e-05/1.073, allocations: 113.2 kB / 0.7468 GB, free: 161 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/1.073, allocations: 167.2 kB / 0.747 GB, free: 161 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/1.076, allocations: 1.143 MB / 0.7481 GB, free: 160.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001015/1.076, allocations: 214.2 kB / 0.7483 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/1.079, allocations: 0.5642 MB / 0.7489 GB, free: 160.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000339/1.079, allocations: 340.8 kB / 0.7492 GB, free: 160.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 513 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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 (619): * Single equations (assignments): 613 * 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.0004184/1.08, allocations: 371.9 kB / 0.7496 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/1.08, allocations: 241.7 kB / 0.7498 GB, free: 160 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/1.083, allocations: 2.134 MB / 0.7519 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-05/1.083, allocations: 10 kB / 0.7519 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.083, allocations: 11.69 kB / 0.7519 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/1.083, allocations: 6.516 kB / 0.7519 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007995/1.091, allocations: 6.685 MB / 0.7584 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/1.091, allocations: 10.41 kB / 0.7584 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000853/1.092, allocations: 203.9 kB / 0.7586 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.901e-05/1.092, allocations: 17.34 kB / 0.7586 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.338e-05/1.092, allocations: 17.72 kB / 0.7587 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-05/1.092, allocations: 22.73 kB / 0.7587 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/1.092, allocations: 22.5 kB / 0.7587 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002553/1.094, allocations: 3.227 MB / 0.7619 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002531/1.097, allocations: 3.626 MB / 0.7654 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/1.097, allocations: 336.7 kB / 0.7657 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/1.098, allocations: 16.78 kB / 0.7657 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007569/1.098, allocations: 30.59 kB / 0.7658 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.098, allocations: 91.45 kB / 0.7659 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/1.099, allocations: 62.12 kB / 0.7659 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001875/1.1, allocations: 1.539 MB / 0.7674 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003951/1.104, allocations: 0.9687 MB / 0.7684 GB, free: 149.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 110 * 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.0002786/1.105, allocations: 147 kB / 0.7685 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003595/1.108, allocations: 3.452 MB / 0.7719 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.108, allocations: 0 / 0.7719 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008725/1.109, allocations: 0.9573 MB / 0.7728 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008318/1.11, allocations: 208 kB / 0.773 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02721/1.137, allocations: 15.72 MB / 0.7884 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00419/1.142, allocations: 3.456 MB / 0.7917 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/1.142, allocations: 0 / 0.7917 GB, free: 130.7 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1)