Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.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.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",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.0009934/0.0009934, allocations: 179 kB / 8.517 MB, free: 1.855 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.213/1.213, 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.0009311/0.000931, allocations: 87.98 kB / 281.2 MB, free: 5.5 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.1662/0.1662, allocations: 44.15 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1725/0.3387, allocations: 68.03 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.4305, allocations: 61.91 MB / 0.4942 GB, free: 1.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2504/0.681, allocations: 96.59 MB / 0.5885 GB, free: 196 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.6812, allocations: 72.62 kB / 0.5886 GB, free: 124 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.1819/0.8632, allocations: 72.27 MB / 0.6591 GB, free: 7.121 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.8632, allocations: 11.94 kB / 0.6591 GB, free: 7.109 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/0.8767, allocations: 2.705 MB / 0.6618 GB, free: 4.395 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004332/0.881, allocations: 2.118 MB / 0.6639 GB, free: 2.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.8811, allocations: 120 kB / 0.664 GB, free: 2.113 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006275/0.8818, allocations: 211.9 kB / 0.6642 GB, free: 1.906 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009028/0.8908, allocations: 6.575 MB / 0.6706 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01165/0.9025, allocations: 8.907 MB / 0.6793 GB, free: 1.941 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.062e-05/0.9026, allocations: 23.75 kB / 0.6793 GB, free: 1.918 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004741/0.9031, allocations: 20 kB / 0.6793 GB, free: 1.898 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001084/0.9042, allocations: 1.14 MB / 0.6804 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03344/0.9376, allocations: 29.48 MB / 0.7092 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1263/1.064, allocations: 2.781 MB / 0.7119 GB, free: 203.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009934/1.065, allocations: 0.8514 MB / 0.7128 GB, free: 203.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-05/1.065, allocations: 11.47 kB / 0.7128 GB, free: 203.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/1.065, allocations: 39.59 kB / 0.7128 GB, free: 203.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=142): time 3.997e-06/1.065, allocations: 1.375 kB / 0.7128 GB, free: 203.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=142): time 0.004045/1.069, allocations: 2.267 MB / 0.715 GB, free: 203.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/1.069, allocations: 63.66 kB / 0.7151 GB, free: 203.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/1.072, allocations: 2.419 MB / 0.7175 GB, free: 203.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.57e-05/1.072, allocations: 25.7 kB / 0.7175 GB, free: 203.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008711/1.073, allocations: 2.723 MB / 0.7201 GB, free: 202.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/1.073, allocations: 0.5326 MB / 0.7207 GB, free: 201.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/1.073, allocations: 0 / 0.7207 GB, free: 201.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002401/1.073, allocations: 0.574 MB / 0.7212 GB, free: 201.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/1.075, allocations: 1.514 MB / 0.7227 GB, free: 201.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002511/1.078, allocations: 4.641 MB / 0.7272 GB, free: 197.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002684/1.08, allocations: 2.743 MB / 0.7299 GB, free: 197.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.454e-05/1.08, allocations: 35.94 kB / 0.73 GB, free: 197.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=679) (initialization): time 0.00654/1.087, allocations: 5.447 MB / 0.7353 GB, free: 197 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.087, allocations: 4.469 kB / 0.7353 GB, free: 197 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.277e-05/1.087, allocations: 112.4 kB / 0.7354 GB, free: 197 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/1.087, allocations: 169.7 kB / 0.7355 GB, free: 197 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003103/1.09, allocations: 1.125 MB / 0.7366 GB, free: 196.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.57e-05/1.09, allocations: 219.2 kB / 0.7369 GB, free: 196.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/1.093, allocations: 0.5683 MB / 0.7374 GB, free: 196.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003158/1.093, allocations: 316.5 kB / 0.7377 GB, free: 196.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (631): * Single equations (assignments): 625 * 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.0004046/1.094, allocations: 384.5 kB / 0.7381 GB, free: 196.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/1.094, allocations: 226 kB / 0.7383 GB, free: 196.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/1.095, allocations: 295.8 kB / 0.7386 GB, free: 196 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.154e-05/1.095, allocations: 10.25 kB / 0.7386 GB, free: 196 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.095, allocations: 0 / 0.7386 GB, free: 196 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/1.095, allocations: 6.906 kB / 0.7386 GB, free: 196 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0071/1.102, allocations: 5.721 MB / 0.7442 GB, free: 195 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.102, allocations: 14.16 kB / 0.7442 GB, free: 195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006981/1.102, allocations: 158.9 kB / 0.7443 GB, free: 195 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/1.102, allocations: 9.125 kB / 0.7444 GB, free: 195 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.057e-05/1.103, allocations: 10.09 kB / 0.7444 GB, free: 195 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/1.103, allocations: 14.67 kB / 0.7444 GB, free: 195 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/1.103, allocations: 14.72 kB / 0.7444 GB, free: 195 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002051/1.105, allocations: 2.539 MB / 0.7469 GB, free: 194 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002083/1.107, allocations: 2.937 MB / 0.7497 GB, free: 192.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/1.107, allocations: 320.6 kB / 0.75 GB, free: 192 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/1.107, allocations: 7.5 kB / 0.7501 GB, free: 192 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007647/1.108, allocations: 18.19 kB / 0.7501 GB, free: 192 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/1.108, allocations: 58.5 kB / 0.7501 GB, free: 192 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.609e-05/1.108, allocations: 48.8 kB / 0.7502 GB, free: 192 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001753/1.11, allocations: 1.581 MB / 0.7517 GB, free: 191.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003933/1.114, allocations: 0.9676 MB / 0.7527 GB, free: 191.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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.0002754/1.114, allocations: 141.3 kB / 0.7528 GB, free: 191.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003591/1.118, allocations: 3.477 MB / 0.7562 GB, free: 190.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.118, allocations: 0 / 0.7562 GB, free: 190.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008254/1.119, allocations: 0.8856 MB / 0.7571 GB, free: 189.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/1.12, allocations: 180.7 kB / 0.7572 GB, free: 189.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.13, allocations: 6.224 MB / 0.7633 GB, free: 187.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003596/1.133, allocations: 3.306 MB / 0.7665 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of SimCode: time 9.01e-07/1.133, allocations: 4 kB / 0.7665 GB, free: 185.6 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1)