Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.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.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",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.001346/0.001347, allocations: 178.8 kB / 8.52 MB, free: 1.824 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.156/1.156, allocations: 221.4 MB / 230.3 MB, free: 7.695 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.0009126/0.0009126, allocations: 88.09 kB / 281.2 MB, free: 5.504 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.16/0.16, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1678/0.3279, allocations: 68.03 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08744/0.4153, allocations: 61.9 MB / 0.4942 GB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2425/0.6579, allocations: 95.03 MB / 0.587 GB, free: 1.641 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.6582, allocations: 79.95 kB / 0.587 GB, free: 1.562 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.03327/0.6915, allocations: 13.49 MB / 0.6002 GB, free: 3.965 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.6915, allocations: 11.94 kB / 0.6002 GB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009493/0.6925, allocations: 178.7 kB / 0.6004 GB, free: 3.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007909/0.6933, allocations: 0.4989 MB / 0.6009 GB, free: 3.238 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.6933, allocations: 23.94 kB / 0.6009 GB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.578e-05/0.6934, allocations: 36 kB / 0.6009 GB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009346/0.6943, allocations: 0.6748 MB / 0.6016 GB, free: 2.504 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.6957, allocations: 1.169 MB / 0.6027 GB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.6958, allocations: 7.875 kB / 0.6028 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.6958, allocations: 8 kB / 0.6028 GB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.696, allocations: 104.7 kB / 0.6029 GB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004044/0.7, allocations: 5.797 MB / 0.6085 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.628e-05/0.7001, allocations: 54.58 kB / 0.6086 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.7002, allocations: 36.92 kB / 0.6086 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.7002, allocations: 0 / 0.6086 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.7002, allocations: 30.56 kB / 0.6086 GB, free: 10.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.7002, allocations: 0 / 0.6086 GB, free: 10.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002547/0.7005, allocations: 148.9 kB / 0.6088 GB, free: 10.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.7005, allocations: 51.41 kB / 0.6088 GB, free: 10.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006908/0.7012, allocations: 0.6319 MB / 0.6094 GB, free: 10.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.7012, allocations: 25.7 kB / 0.6095 GB, free: 10.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.7015, allocations: 0.4926 MB / 0.61 GB, free: 9.508 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.7015, allocations: 27.8 kB / 0.61 GB, free: 9.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/0.7015, allocations: 0 / 0.61 GB, free: 9.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.7017, allocations: 366.8 kB / 0.6103 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.7019, allocations: 149.5 kB / 0.6105 GB, free: 8.969 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/0.7024, allocations: 0.6993 MB / 0.6112 GB, free: 7.984 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.7028, allocations: 311.6 kB / 0.6115 GB, free: 7.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.7028, allocations: 8 kB / 0.6115 GB, free: 7.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001044/0.7039, allocations: 0.7123 MB / 0.6122 GB, free: 6.953 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.7039, allocations: 4 kB / 0.6122 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.7039, allocations: 20 kB / 0.6122 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/0.7039, allocations: 31.91 kB / 0.6122 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.7045, allocations: 196.2 kB / 0.6124 GB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.704e-05/0.7045, allocations: 39.86 kB / 0.6124 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.705, allocations: 90.97 kB / 0.6125 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/0.7051, allocations: 51.98 kB / 0.6126 GB, free: 6.527 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (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],fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.7052, allocations: 159.2 kB / 0.6127 GB, free: 6.363 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.7053, allocations: 55.25 kB / 0.6128 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.678e-05/0.7054, allocations: 56.8 kB / 0.6128 GB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.7054, allocations: 0 / 0.6128 GB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.7054, allocations: 0 / 0.6128 GB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7054, allocations: 3.938 kB / 0.6128 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.7058, allocations: 414 kB / 0.6132 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7058, allocations: 0 / 0.6132 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.877e-05/0.7059, allocations: 23.92 kB / 0.6132 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7059, allocations: 0 / 0.6132 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.706, allocations: 7.891 kB / 0.6133 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.706, allocations: 3.938 kB / 0.6133 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.706, allocations: 0 / 0.6133 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001978/0.7062, allocations: 234.9 kB / 0.6135 GB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003085/0.7065, allocations: 0.6202 MB / 0.6141 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.7066, allocations: 132.3 kB / 0.6142 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.7067, allocations: 0 / 0.6142 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.7069, allocations: 11.98 kB / 0.6142 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.707, allocations: 7.984 kB / 0.6142 GB, free: 4.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.707, allocations: 4 kB / 0.6142 GB, free: 4.707 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000519/0.7075, allocations: 447.1 kB / 0.6147 GB, free: 4.277 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00124/0.7088, allocations: 151.3 kB / 0.6148 GB, free: 4.129 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001369/0.7089, allocations: 95.23 kB / 0.6149 GB, free: 4.027 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004582/0.7094, allocations: 359.5 kB / 0.6152 GB, free: 3.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7094, allocations: 0 / 0.6152 GB, free: 3.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.492e-05/0.7095, allocations: 41.33 kB / 0.6153 GB, free: 3.641 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.7099, allocations: 78.89 kB / 0.6154 GB, free: 3.562 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.7114, allocations: 0.8297 MB / 0.6162 GB, free: 2.699 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007666/0.7122, allocations: 1.092 MB / 0.6172 GB, free: 1.586 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7122, allocations: 7.938 kB / 0.6172 GB, free: 1.578 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)