Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.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.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 180 kB / 8.518 MB, free: 1.852 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.424/1.424, allocations: 221.4 MB / 230.3 MB, free: 7.781 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.001037/0.001036, allocations: 83.12 kB / 281.2 MB, free: 5.52 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.2233/0.2233, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.284/0.5074, allocations: 68.02 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.6526, allocations: 61.91 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4091/1.062, allocations: 90.43 MB / 0.5825 GB, free: 6.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/1.062, allocations: 63.97 kB / 0.5825 GB, free: 6.258 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.03598/1.098, allocations: 12.31 MB / 0.5946 GB, free: 9.852 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.098, allocations: 11.94 kB / 0.5946 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/1.098, allocations: 79.06 kB / 0.5946 GB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/1.099, allocations: 363.3 kB / 0.595 GB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/1.099, allocations: 23.91 kB / 0.595 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/1.099, allocations: 44 kB / 0.5951 GB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007647/1.1, allocations: 414.5 kB / 0.5955 GB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008508/1.101, allocations: 0.4895 MB / 0.5959 GB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/1.101, allocations: 15.89 kB / 0.5959 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/1.101, allocations: 0 / 0.5959 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/1.101, allocations: 12 kB / 0.596 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/1.104, allocations: 1.954 MB / 0.5979 GB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/1.105, allocations: 438.4 kB / 0.5983 GB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004039/1.105, allocations: 274.1 kB / 0.5985 GB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/1.105, allocations: 97.67 kB / 0.5986 GB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/1.105, allocations: 43 kB / 0.5987 GB, free: 5.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/1.105, allocations: 0 / 0.5987 GB, free: 5.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.005502/1.111, allocations: 3.544 MB / 0.6021 GB, free: 1.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/1.111, allocations: 172.2 kB / 0.6023 GB, free: 1.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/1.111, allocations: 301.1 kB / 0.6026 GB, free: 1.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/1.111, allocations: 29.7 kB / 0.6026 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/1.112, allocations: 217 kB / 0.6028 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/1.112, allocations: 390.1 kB / 0.6032 GB, free: 388 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/1.112, allocations: 0 / 0.6032 GB, free: 388 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/1.112, allocations: 378.8 kB / 0.6036 GB, free: 0 / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/1.113, allocations: 246.7 kB / 0.6038 GB, free: 15.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/1.113, allocations: 442.5 kB / 0.6042 GB, free: 15.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000572/1.114, allocations: 312.3 kB / 0.6045 GB, free: 14.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.114, allocations: 0 / 0.6045 GB, free: 14.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00139/1.115, allocations: 0.8184 MB / 0.6053 GB, free: 14.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.115, allocations: 4 kB / 0.6053 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/1.115, allocations: 4.984 kB / 0.6053 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/1.115, allocations: 16 kB / 0.6053 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.116, allocations: 303.6 kB / 0.6056 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.42e-05/1.116, allocations: 11.94 kB / 0.6056 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/1.117, allocations: 40.03 kB / 0.6057 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-05/1.117, allocations: 48 kB / 0.6057 GB, free: 13.7 MB / 426.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.0001892/1.117, allocations: 124.7 kB / 0.6058 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/1.118, allocations: 75.14 kB / 0.6059 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004959/1.118, allocations: 238.7 kB / 0.6061 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.118, allocations: 12 kB / 0.6062 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/1.118, allocations: 4 kB / 0.6062 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.118, allocations: 7.969 kB / 0.6062 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/1.121, allocations: 2.161 MB / 0.6083 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/1.122, allocations: 4 kB / 0.6083 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.123, allocations: 267.9 kB / 0.6085 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.258e-05/1.123, allocations: 8 kB / 0.6085 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.108e-05/1.123, allocations: 19.92 kB / 0.6086 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/1.123, allocations: 15.91 kB / 0.6086 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/1.123, allocations: 4 kB / 0.6086 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002159/1.125, allocations: 1.707 MB / 0.6102 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00328/1.128, allocations: 2.454 MB / 0.6126 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/1.129, allocations: 196.2 kB / 0.6128 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/1.129, allocations: 11.94 kB / 0.6128 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/1.129, allocations: 39.97 kB / 0.6129 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/1.13, allocations: 72.45 kB / 0.6129 GB, free: 5.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.243e-05/1.13, allocations: 32 kB / 0.613 GB, free: 5.887 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002621/1.13, allocations: 227.2 kB / 0.6132 GB, free: 5.664 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00149/1.132, allocations: 163.9 kB / 0.6134 GB, free: 5.504 MB / 426.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.0002034/1.132, allocations: 124.3 kB / 0.6135 GB, free: 5.375 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001172/1.133, allocations: 0.6963 MB / 0.6142 GB, free: 4.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.133, allocations: 4 kB / 0.6142 GB, free: 4.676 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005872/1.134, allocations: 433.5 kB / 0.6146 GB, free: 4.258 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007694/1.134, allocations: 76.98 kB / 0.6146 GB, free: 4.184 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/1.138, allocations: 1.902 MB / 0.6165 GB, free: 2.199 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000778/1.138, allocations: 1.065 MB / 0.6175 GB, free: 1.113 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/1.138, allocations: 3.938 kB / 0.6175 GB, free: 1.109 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1)