Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.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.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_AllComponents",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.001048/0.001048, allocations: 199.2 kB / 8.539 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.077/1.077, allocations: 225.5 MB / 234.4 MB, free: 3.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000793/0.0007932, allocations: 88.31 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1527/0.1527, allocations: 45.15 MB / 383.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1781/0.3308, allocations: 69.36 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07743/0.4082, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2349/0.6432, allocations: 91.5 MB / 0.5932 GB, free: 11.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.6434, allocations: 66.09 kB / 0.5933 GB, free: 11.64 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.03279/0.6762, allocations: 12.25 MB / 0.6052 GB, free: 1.375 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.6763, allocations: 8 kB / 0.6052 GB, free: 1.367 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007074/0.677, allocations: 178.1 kB / 0.6054 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.6774, allocations: 366 kB / 0.6058 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.6775, allocations: 20 kB / 0.6058 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.433e-05/0.6776, allocations: 35.31 kB / 0.6058 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006924/0.6783, allocations: 421.1 kB / 0.6062 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007226/0.679, allocations: 499.7 kB / 0.6067 GB, free: 108 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.679, allocations: 11.89 kB / 0.6067 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.6791, allocations: 0 / 0.6067 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.6791, allocations: 16 kB / 0.6067 GB, free: 80 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.682, allocations: 1.962 MB / 0.6086 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006645/0.6827, allocations: 447.6 kB / 0.6091 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.6831, allocations: 271.6 kB / 0.6093 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.6832, allocations: 96.78 kB / 0.6094 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.6832, allocations: 50.66 kB / 0.6095 GB, free: 13.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 4.118e-06/0.6833, allocations: 224 / 0.6095 GB, free: 13.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.004887/0.6882, allocations: 3.549 MB / 0.6129 GB, free: 10.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.6882, allocations: 170.8 kB / 0.6131 GB, free: 10.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.6885, allocations: 290 kB / 0.6134 GB, free: 9.793 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.6886, allocations: 29.7 kB / 0.6134 GB, free: 9.758 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.6887, allocations: 218 kB / 0.6136 GB, free: 9.562 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/0.689, allocations: 386 kB / 0.614 GB, free: 9.227 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.689, allocations: 0 / 0.614 GB, free: 9.227 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6892, allocations: 381.8 kB / 0.6143 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.6896, allocations: 256.3 kB / 0.6146 GB, free: 8.719 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/0.6901, allocations: 432.8 kB / 0.615 GB, free: 8.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005879/0.6907, allocations: 309.4 kB / 0.6153 GB, free: 8.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6907, allocations: 4 kB / 0.6153 GB, free: 8.137 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001363/0.6921, allocations: 0.8191 MB / 0.6161 GB, free: 7.496 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.6921, allocations: 4 kB / 0.6161 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.6922, allocations: 8 kB / 0.6161 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.6922, allocations: 8 kB / 0.6161 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.6933, allocations: 305.9 kB / 0.6164 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.6934, allocations: 19.88 kB / 0.6164 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.6938, allocations: 39.97 kB / 0.6165 GB, free: 7.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/0.6939, allocations: 42.06 kB / 0.6165 GB, free: 7.098 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0001506/0.6941, allocations: 132.7 kB / 0.6166 GB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.6943, allocations: 79 kB / 0.6167 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004135/0.6947, allocations: 225.2 kB / 0.6169 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.6947, allocations: 12 kB / 0.6169 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.6947, allocations: 0 / 0.6169 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.6948, allocations: 7.969 kB / 0.6169 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.6978, allocations: 2.161 MB / 0.619 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6978, allocations: 4 kB / 0.6191 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.699, allocations: 275.4 kB / 0.6193 GB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.699, allocations: 8 kB / 0.6193 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.909e-05/0.6991, allocations: 15.89 kB / 0.6193 GB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.6991, allocations: 4 kB / 0.6193 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.6991, allocations: 4 kB / 0.6193 GB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001813/0.7009, allocations: 1.706 MB / 0.621 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002338/0.7033, allocations: 2.458 MB / 0.6234 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.7035, allocations: 197.3 kB / 0.6236 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.497e-05/0.7036, allocations: 4 kB / 0.6236 GB, free: 0.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/0.7042, allocations: 39.97 kB / 0.6236 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.7044, allocations: 77.14 kB / 0.6237 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/0.7044, allocations: 34.48 kB / 0.6237 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001867/0.7046, allocations: 226 kB / 0.624 GB, free: 496 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001273/0.7059, allocations: 163.9 kB / 0.6241 GB, free: 332 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.000166/0.7061, allocations: 118.4 kB / 0.6242 GB, free: 208 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.7071, allocations: 0.7088 MB / 0.6249 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7071, allocations: 0 / 0.6249 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005944/0.7077, allocations: 434.1 kB / 0.6253 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/0.7084, allocations: 87.83 kB / 0.6254 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.7114, allocations: 1.909 MB / 0.6273 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007409/0.7122, allocations: 1.06 MB / 0.6283 GB, free: 12.37 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.7122, allocations: 0 / 0.6283 GB, free: 12.37 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1)