Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.ColorMaps,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",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.0009552/0.0009552, allocations: 178.8 kB / 8.519 MB, free: 1.844 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.684 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.0009093/0.0009093, allocations: 94.09 kB / 281.2 MB, free: 5.488 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.1582/0.1582, allocations: 44.14 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1643/0.3225, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.4119, allocations: 61.91 MB / 0.4942 GB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2417/0.6536, allocations: 99.39 MB / 0.5912 GB, free: 13.26 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.6538, allocations: 71.95 kB / 0.5913 GB, free: 13.19 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: 1421 * Number of variables: 1421 Notification: Performance of Generate backend data structure: time 0.1775/0.8314, allocations: 84.11 MB / 0.6734 GB, free: 8.645 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.8314, allocations: 11.94 kB / 0.6735 GB, free: 8.633 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/0.8341, allocations: 1.123 MB / 0.6746 GB, free: 7.496 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006062/0.8402, allocations: 3.953 MB / 0.6784 GB, free: 3.469 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-05/0.8402, allocations: 80 kB / 0.6785 GB, free: 3.391 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003057/0.8405, allocations: 140 kB / 0.6786 GB, free: 3.254 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005209/0.8458, allocations: 4.573 MB / 0.6831 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006742/0.8525, allocations: 6.057 MB / 0.689 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.698e-05/0.8526, allocations: 7.938 kB / 0.689 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/0.8528, allocations: 4 kB / 0.689 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008757/0.8537, allocations: 1.096 MB / 0.6901 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2251/1.079, allocations: 20.39 MB / 0.71 GB, free: 168.7 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 3.919e-05/1.079, allocations: 168.9 kB / 0.7102 GB, free: 168.5 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/1.079, allocations: 80.14 kB / 0.7102 GB, free: 168.4 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/1.079, allocations: 75.28 kB / 0.7103 GB, free: 168.4 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/1.079, allocations: 109.7 kB / 0.7104 GB, free: 168.3 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=0): time 2.044e-06/1.079, allocations: 0 / 0.7104 GB, free: 168.3 MB / 0.4949 GB Notification: Performance of matching and sorting (n=0): time 0.0005417/1.079, allocations: 0.836 MB / 0.7112 GB, free: 167.8 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.459e-05/1.08, allocations: 54.09 kB / 0.7113 GB, free: 167.7 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00815/1.088, allocations: 8.75 MB / 0.7198 GB, free: 167.1 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-06/1.088, allocations: 25.7 kB / 0.7198 GB, free: 167.1 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001399/1.089, allocations: 3.641 MB / 0.7234 GB, free: 165.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/1.089, allocations: 96.2 kB / 0.7235 GB, free: 165.7 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/1.089, allocations: 0 / 0.7235 GB, free: 165.7 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.089, allocations: 488 kB / 0.724 GB, free: 165.4 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007273/1.09, allocations: 0.664 MB / 0.7246 GB, free: 165.3 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/1.092, allocations: 3.864 MB / 0.7284 GB, free: 161.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/1.093, allocations: 1.582 MB / 0.7299 GB, free: 161.1 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.365e-05/1.093, allocations: 31.16 kB / 0.73 GB, free: 161.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.004551/1.098, allocations: 4.165 MB / 0.734 GB, free: 160.2 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/1.098, allocations: 7.219 kB / 0.734 GB, free: 160.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.192e-05/1.098, allocations: 122.4 kB / 0.7341 GB, free: 160.2 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/1.098, allocations: 168.1 kB / 0.7343 GB, free: 160.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/1.1, allocations: 0.986 MB / 0.7353 GB, free: 160.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.291e-05/1.1, allocations: 231 kB / 0.7355 GB, free: 160.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/1.103, allocations: 0.5108 MB / 0.736 GB, free: 159.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/1.103, allocations: 287.5 kB / 0.7363 GB, free: 159.9 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 30 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.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 (537): * Single equations (assignments): 537 * 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.0002827/1.103, allocations: 461.7 kB / 0.7367 GB, free: 159.6 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004572/1.104, allocations: 0.9009 MB / 0.7376 GB, free: 159.1 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/1.105, allocations: 1.019 MB / 0.7386 GB, free: 158.9 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/1.105, allocations: 183.1 kB / 0.7388 GB, free: 158.7 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/1.105, allocations: 176.3 kB / 0.7389 GB, free: 158.5 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/1.105, allocations: 184 kB / 0.7391 GB, free: 158.3 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/1.108, allocations: 3.93 MB / 0.7429 GB, free: 157.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/1.108, allocations: 101 kB / 0.743 GB, free: 157.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.217e-05/1.108, allocations: 108.9 kB / 0.7431 GB, free: 157.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-05/1.108, allocations: 176.3 kB / 0.7433 GB, free: 157.4 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/1.108, allocations: 181.2 kB / 0.7435 GB, free: 157.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.085e-05/1.108, allocations: 180.2 kB / 0.7436 GB, free: 157 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.158e-05/1.109, allocations: 190.5 kB / 0.7438 GB, free: 156.8 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000482/1.109, allocations: 1.149 MB / 0.7449 GB, free: 156 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006336/1.11, allocations: 1.687 MB / 0.7466 GB, free: 154.8 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008618/1.111, allocations: 0.8927 MB / 0.7475 GB, free: 154.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005404/1.111, allocations: 191.3 kB / 0.7477 GB, free: 153.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008267/1.112, allocations: 101 kB / 0.7477 GB, free: 153.8 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/1.112, allocations: 186.6 kB / 0.7479 GB, free: 153.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/1.112, allocations: 104.8 kB / 0.748 GB, free: 153.5 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.006183/1.118, allocations: 6.588 MB / 0.7545 GB, free: 151.4 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.003753/1.122, allocations: 1.057 MB / 0.7555 GB, free: 151.2 MB / 0.4949 GB 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 (0): * Single equations (assignments): 0 * 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 9.392e-05/1.122, allocations: 174.2 kB / 0.7557 GB, free: 151 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001815/1.124, allocations: 1.663 MB / 0.7573 GB, free: 150.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.124, allocations: 0 / 0.7573 GB, free: 150.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 2.876e-06/1.124, allocations: 8.5 kB / 0.7573 GB, free: 150.5 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009906/1.134, allocations: 3.088 MB / 0.7603 GB, free: 149.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/1.151, allocations: 12.75 MB / 0.7728 GB, free: 140.1 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004896/1.156, allocations: 5.875 MB / 0.7785 GB, free: 135.8 MB / 0.4949 GB Notification: Performance of SimCode: time 5.51e-07/1.156, allocations: 0 / 0.7785 GB, free: 135.8 MB / 0.4949 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)