Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 188.9 kB / 7.806 MB, free: 2.488 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.163/1.163, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0009125/0.0009125, allocations: 98.59 kB / 261.4 MB, free: 13.54 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.1701/0.1701, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1757/0.3458, allocations: 64.96 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.6306, allocations: 58.83 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.743, allocations: 88.97 MB / 0.5523 GB, free: 10.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.7433, allocations: 63.97 kB / 0.5524 GB, free: 9.969 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.03468/0.778, allocations: 11.96 MB / 0.5641 GB, free: 13.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.778, allocations: 8 kB / 0.5641 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.7782, allocations: 82.02 kB / 0.5642 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.7786, allocations: 371.2 kB / 0.5645 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.7787, allocations: 20 kB / 0.5645 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.781e-05/0.7788, allocations: 36 kB / 0.5646 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007448/0.7795, allocations: 422.4 kB / 0.565 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007804/0.7803, allocations: 493.3 kB / 0.5655 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.7804, allocations: 7.906 kB / 0.5655 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.199e-05/0.7804, allocations: 4 kB / 0.5655 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.7804, allocations: 19.98 kB / 0.5655 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003015/0.7835, allocations: 1.961 MB / 0.5674 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007267/0.7842, allocations: 441.5 kB / 0.5678 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/0.7846, allocations: 266.2 kB / 0.5681 GB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.7848, allocations: 97.69 kB / 0.5682 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.7848, allocations: 54.83 kB / 0.5682 GB, free: 9.438 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 3.246e-06/0.7848, allocations: 4 kB / 0.5682 GB, free: 9.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.005203/0.79, allocations: 3.542 MB / 0.5717 GB, free: 5.543 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.7901, allocations: 178.8 kB / 0.5719 GB, free: 5.332 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.7904, allocations: 297.1 kB / 0.5721 GB, free: 5.031 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.7905, allocations: 25.7 kB / 0.5722 GB, free: 5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.7906, allocations: 213 kB / 0.5724 GB, free: 4.785 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.7908, allocations: 394.1 kB / 0.5727 GB, free: 4.395 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.7909, allocations: 0 / 0.5727 GB, free: 4.395 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.791, allocations: 378.8 kB / 0.5731 GB, free: 4.016 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.7915, allocations: 246.6 kB / 0.5733 GB, free: 3.777 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.792, allocations: 438.5 kB / 0.5738 GB, free: 3.277 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.7925, allocations: 323.2 kB / 0.5741 GB, free: 2.969 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.7925, allocations: 4 kB / 0.5741 GB, free: 2.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001275/0.7938, allocations: 0.8076 MB / 0.5749 GB, free: 2.148 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.7938, allocations: 8 kB / 0.5749 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.7939, allocations: 4 kB / 0.5749 GB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.7939, allocations: 12 kB / 0.5749 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.7951, allocations: 303.6 kB / 0.5752 GB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.7951, allocations: 11.94 kB / 0.5752 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.7956, allocations: 39.97 kB / 0.5752 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.66e-05/0.7957, allocations: 43.98 kB / 0.5753 GB, free: 1.734 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.0001656/0.7959, allocations: 130.1 kB / 0.5754 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.7961, allocations: 75.06 kB / 0.5755 GB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/0.7965, allocations: 231 kB / 0.5757 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.7966, allocations: 15.98 kB / 0.5757 GB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.7966, allocations: 0 / 0.5757 GB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.7966, allocations: 7.984 kB / 0.5757 GB, free: 1.266 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/0.7997, allocations: 2.173 MB / 0.5778 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.7997, allocations: 288 / 0.5778 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.8009, allocations: 271.7 kB / 0.5781 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/0.801, allocations: 8 kB / 0.5781 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/0.801, allocations: 15.89 kB / 0.5781 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/0.8011, allocations: 8 kB / 0.5781 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.8011, allocations: 4 kB / 0.5781 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002202/0.8033, allocations: 1.719 MB / 0.5798 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002721/0.806, allocations: 2.452 MB / 0.5822 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/0.8064, allocations: 192.2 kB / 0.5824 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.8065, allocations: 11.98 kB / 0.5824 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.8072, allocations: 35.97 kB / 0.5824 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.8074, allocations: 72.47 kB / 0.5825 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.419e-05/0.8074, allocations: 39.98 kB / 0.5825 GB, free: 9.914 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002684/0.8077, allocations: 227.2 kB / 0.5827 GB, free: 9.695 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001403/0.8091, allocations: 160 kB / 0.5829 GB, free: 9.539 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.0002107/0.8093, allocations: 115 kB / 0.583 GB, free: 9.418 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.8106, allocations: 0.7165 MB / 0.5837 GB, free: 8.703 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8106, allocations: 128 / 0.5837 GB, free: 8.703 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006975/0.8113, allocations: 430.1 kB / 0.5841 GB, free: 8.285 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000874/0.8122, allocations: 78.16 kB / 0.5842 GB, free: 8.207 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/0.8157, allocations: 1.912 MB / 0.5861 GB, free: 6.215 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008217/0.8166, allocations: 1.053 MB / 0.5871 GB, free: 5.141 MB / 426.7 MB Notification: Performance of SimCode: time 7.42e-07/0.8166, allocations: 0 / 0.5871 GB, free: 5.141 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1)