Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001158/0.001158, allocations: 195.2 kB / 8.537 MB, free: 1.719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000908/0.0009081, allocations: 89.11 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1734/0.1734, allocations: 45.14 MB / 383.4 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1867/0.3601, allocations: 69.36 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07956/0.4397, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2509/0.6907, allocations: 100.5 MB / 0.602 GB, free: 2.531 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.6909, allocations: 68.91 kB / 0.602 GB, free: 2.5 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: 1421 * Number of variables: 1421 Notification: Performance of Generate backend data structure: time 0.2091/0.9, allocations: 84.17 MB / 0.6842 GB, free: 6.875 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.9, allocations: 8 kB / 0.6842 GB, free: 6.867 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/0.9026, allocations: 1.119 MB / 0.6853 GB, free: 5.734 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006355/0.909, allocations: 3.946 MB / 0.6892 GB, free: 1.715 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.111e-05/0.9091, allocations: 80 kB / 0.6893 GB, free: 1.637 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/0.9094, allocations: 143.9 kB / 0.6894 GB, free: 1.496 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005587/0.915, allocations: 4.585 MB / 0.6939 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007036/0.9221, allocations: 6.042 MB / 0.6998 GB, free: 6.684 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.918e-05/0.9221, allocations: 11.94 kB / 0.6998 GB, free: 6.672 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/0.9223, allocations: 4 kB / 0.6998 GB, free: 6.668 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008609/0.9232, allocations: 1.088 MB / 0.7008 GB, free: 5.578 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02364/0.9469, allocations: 20.39 MB / 0.7208 GB, free: 496 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.409e-05/0.947, allocations: 173.1 kB / 0.7209 GB, free: 312 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.947, allocations: 84.12 kB / 0.721 GB, free: 224 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.9471, allocations: 79.19 kB / 0.7211 GB, free: 144 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.9471, allocations: 109.9 kB / 0.7212 GB, free: 24 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 2.434e-06/0.9471, allocations: 3.938 kB / 0.7212 GB, free: 20 kB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.000882/0.948, allocations: 0.8329 MB / 0.722 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.948, allocations: 51.41 kB / 0.7221 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/0.959, allocations: 8.74 MB / 0.7306 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.959, allocations: 25.7 kB / 0.7306 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002334/0.9614, allocations: 3.654 MB / 0.7342 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.125e-05/0.9615, allocations: 91.89 kB / 0.7343 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-05/0.9615, allocations: 0 / 0.7343 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002331/0.9618, allocations: 479 kB / 0.7347 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009145/0.9627, allocations: 0.6759 MB / 0.7354 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/0.9654, allocations: 3.862 MB / 0.7392 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.9673, allocations: 1.579 MB / 0.7407 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.382e-05/0.9674, allocations: 32 kB / 0.7407 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006143/0.9735, allocations: 4.161 MB / 0.7448 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.9736, allocations: 7.938 kB / 0.7448 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.25e-05/0.9737, allocations: 123.9 kB / 0.7449 GB, free: 6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/0.9738, allocations: 168 kB / 0.7451 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/0.9762, allocations: 0.9863 MB / 0.746 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001415/0.9764, allocations: 223.1 kB / 0.7463 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/0.9796, allocations: 0.5138 MB / 0.7468 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002655/0.9799, allocations: 288 kB / 0.747 GB, free: 3.828 MB / 0.5261 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.0003735/0.9803, allocations: 460 kB / 0.7475 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007519/0.981, allocations: 0.9121 MB / 0.7484 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.9831, allocations: 1.011 MB / 0.7493 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.734e-05/0.9832, allocations: 180.2 kB / 0.7495 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.886e-05/0.9832, allocations: 192.2 kB / 0.7497 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.375e-05/0.9833, allocations: 176.3 kB / 0.7499 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2275/1.211, allocations: 3.934 MB / 0.7537 GB, free: 193 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/1.211, allocations: 104.8 kB / 0.7538 GB, free: 192.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/1.211, allocations: 101 kB / 0.7539 GB, free: 192.8 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.123e-05/1.211, allocations: 180.1 kB / 0.7541 GB, free: 192.6 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/1.211, allocations: 181.8 kB / 0.7543 GB, free: 192.4 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.729e-05/1.211, allocations: 181.6 kB / 0.7544 GB, free: 192.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.857e-05/1.211, allocations: 179.9 kB / 0.7546 GB, free: 192.1 MB / 0.5262 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006882/1.212, allocations: 1.152 MB / 0.7557 GB, free: 191.4 MB / 0.5262 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006102/1.212, allocations: 1.686 MB / 0.7574 GB, free: 190.2 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009313/1.213, allocations: 0.8999 MB / 0.7582 GB, free: 189.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005622/1.214, allocations: 177.3 kB / 0.7584 GB, free: 189.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008684/1.215, allocations: 104.8 kB / 0.7585 GB, free: 189.3 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/1.215, allocations: 182.1 kB / 0.7587 GB, free: 189.1 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/1.215, allocations: 101 kB / 0.7588 GB, free: 189 MB / 0.5262 GB Notification: Performance of sort global known variables: time 0.006792/1.222, allocations: 6.587 MB / 0.7652 GB, free: 188.7 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.003627/1.225, allocations: 1.054 MB / 0.7662 GB, free: 188.6 MB / 0.5262 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 0.0001142/1.225, allocations: 182.3 kB / 0.7664 GB, free: 188.4 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.001749/1.227, allocations: 1.661 MB / 0.768 GB, free: 188.4 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.227, allocations: 0 / 0.768 GB, free: 188.4 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/1.227, allocations: 3.656 kB / 0.768 GB, free: 188.4 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009869/1.237, allocations: 3.093 MB / 0.7711 GB, free: 187.9 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/1.254, allocations: 12.75 MB / 0.7835 GB, free: 185.1 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005142/1.259, allocations: 5.873 MB / 0.7893 GB, free: 184.2 MB / 0.5262 GB Notification: Performance of SimCode: time 7.21e-07/1.259, allocations: 0 / 0.7893 GB, free: 184.2 MB / 0.5262 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)