Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.ColorMaps,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001758/0.001758, allocations: 188.1 kB / 7.801 MB, free: 2.5 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.479/1.479, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0009256/0.0009255, allocations: 96.14 kB / 261.4 MB, free: 13.46 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.2204/0.2204, allocations: 43.49 MB / 352.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2412/0.4616, allocations: 64.96 MB / 417.8 MB, free: 40.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.8134, allocations: 58.84 MB / 476.6 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.9664, allocations: 98.05 MB / 0.5612 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.9668, allocations: 75.95 kB / 0.5613 GB, free: 0.6211 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.5351/1.502, allocations: 83.76 MB / 0.6431 GB, free: 156.2 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.502, allocations: 11 kB / 0.6431 GB, free: 156.2 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004199/1.506, allocations: 1.122 MB / 0.6442 GB, free: 155.6 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009551/1.516, allocations: 3.951 MB / 0.6481 GB, free: 154.5 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.272e-05/1.516, allocations: 83.56 kB / 0.6481 GB, free: 154.5 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005309/1.516, allocations: 141.2 kB / 0.6483 GB, free: 154.5 MB / 474.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006245/1.523, allocations: 4.573 MB / 0.6527 GB, free: 154.5 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007291/1.53, allocations: 6.052 MB / 0.6587 GB, free: 153.9 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.806e-05/1.53, allocations: 7.719 kB / 0.6587 GB, free: 153.9 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/1.53, allocations: 3.375 kB / 0.6587 GB, free: 153.9 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008295/1.531, allocations: 1.091 MB / 0.6597 GB, free: 153.9 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02796/1.559, allocations: 20.39 MB / 0.6796 GB, free: 144.5 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.113e-05/1.559, allocations: 172.2 kB / 0.6798 GB, free: 144.3 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/1.559, allocations: 82.58 kB / 0.6799 GB, free: 144.2 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/1.559, allocations: 79.28 kB / 0.68 GB, free: 144.1 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/1.559, allocations: 112.3 kB / 0.6801 GB, free: 144 MB / 474.8 MB Notification: Performance of pre-optimization done (n=0): time 4.739e-06/1.559, allocations: 0 / 0.6801 GB, free: 144 MB / 474.8 MB Notification: Performance of matching and sorting (n=0): time 0.001681/1.561, allocations: 0.8299 MB / 0.6809 GB, free: 143.5 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/1.561, allocations: 57.06 kB / 0.6809 GB, free: 143.5 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01959/1.581, allocations: 8.742 MB / 0.6895 GB, free: 140.7 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/1.581, allocations: 25.7 kB / 0.6895 GB, free: 140.7 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003612/1.584, allocations: 3.649 MB / 0.6931 GB, free: 138.2 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/1.585, allocations: 96.27 kB / 0.6932 GB, free: 138.2 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/1.585, allocations: 0 / 0.6932 GB, free: 138.2 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002106/1.585, allocations: 479.3 kB / 0.6936 GB, free: 137.8 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/1.586, allocations: 0.6699 MB / 0.6943 GB, free: 137.6 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002709/1.589, allocations: 3.86 MB / 0.698 GB, free: 133 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/1.591, allocations: 1.583 MB / 0.6996 GB, free: 132.6 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.331e-05/1.591, allocations: 34.38 kB / 0.6996 GB, free: 132.6 MB / 474.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007827/1.599, allocations: 4.163 MB / 0.7037 GB, free: 131.1 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/1.599, allocations: 5.688 kB / 0.7037 GB, free: 131.1 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/1.599, allocations: 117.8 kB / 0.7038 GB, free: 131.1 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/1.599, allocations: 168.2 kB / 0.704 GB, free: 131.1 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/1.602, allocations: 0.9901 MB / 0.7049 GB, free: 131 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002359/1.602, allocations: 223.4 kB / 0.7051 GB, free: 130.9 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004972/1.607, allocations: 0.5123 MB / 0.7056 GB, free: 130.6 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005197/1.608, allocations: 286.9 kB / 0.7059 GB, free: 130.6 MB / 474.8 MB 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.0004889/1.608, allocations: 471.1 kB / 0.7064 GB, free: 130.2 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002032/1.61, allocations: 0.9022 MB / 0.7072 GB, free: 129.6 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003337/1.614, allocations: 1.021 MB / 0.7082 GB, free: 128.9 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.914e-05/1.614, allocations: 183.8 kB / 0.7084 GB, free: 128.7 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.496e-05/1.614, allocations: 176.3 kB / 0.7086 GB, free: 128.6 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.129e-05/1.614, allocations: 183.5 kB / 0.7088 GB, free: 128.4 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007225/1.621, allocations: 3.936 MB / 0.7126 GB, free: 125.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/1.621, allocations: 101 kB / 0.7127 GB, free: 125.1 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/1.621, allocations: 104.9 kB / 0.7128 GB, free: 125 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.687e-05/1.621, allocations: 176.3 kB / 0.713 GB, free: 124.8 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/1.621, allocations: 179.6 kB / 0.7131 GB, free: 124.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-05/1.621, allocations: 184.2 kB / 0.7133 GB, free: 124.4 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.33e-05/1.621, allocations: 180.1 kB / 0.7135 GB, free: 124.3 MB / 474.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001125/1.622, allocations: 1.155 MB / 0.7146 GB, free: 123.1 MB / 474.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008722/1.623, allocations: 1.683 MB / 0.7163 GB, free: 121.4 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/1.625, allocations: 0.9004 MB / 0.7171 GB, free: 120.5 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005945/1.625, allocations: 182.9 kB / 0.7173 GB, free: 120.3 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008503/1.626, allocations: 101 kB / 0.7174 GB, free: 120.2 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/1.626, allocations: 191.5 kB / 0.7176 GB, free: 120 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/1.626, allocations: 101 kB / 0.7177 GB, free: 119.9 MB / 474.8 MB Notification: Performance of sort global known variables: time 0.01226/1.638, allocations: 6.586 MB / 0.7241 GB, free: 114.2 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006651/1.645, allocations: 1.057 MB / 0.7251 GB, free: 113.2 MB / 474.8 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 (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.0001378/1.645, allocations: 170.5 kB / 0.7253 GB, free: 113 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.002634/1.648, allocations: 1.663 MB / 0.7269 GB, free: 111.5 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.648, allocations: 1.594 kB / 0.7269 GB, free: 111.5 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/1.648, allocations: 0 / 0.7269 GB, free: 111.5 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01283/1.661, allocations: 3.104 MB / 0.73 GB, free: 109.2 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/1.689, allocations: 12.75 MB / 0.7424 GB, free: 97.54 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008773/1.698, allocations: 5.876 MB / 0.7482 GB, free: 93.22 MB / 474.8 MB Notification: Performance of SimCode: time 1.383e-06/1.698, allocations: 0 / 0.7482 GB, free: 93.22 MB / 474.8 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)