Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.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.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",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.001907/0.001907, allocations: 178.2 kB / 8.52 MB, free: 1.828 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.434/1.434, allocations: 221.4 MB / 230.3 MB, free: 7.652 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.001133/0.001133, allocations: 86.34 kB / 281.2 MB, free: 5.473 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.205/0.205, allocations: 44.14 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2986/0.5037, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.6565, allocations: 61.9 MB / 0.4942 GB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4125/1.069, allocations: 89.64 MB / 0.5817 GB, free: 7.199 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003857/1.07, allocations: 68.81 kB / 0.5818 GB, free: 7.133 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.02205/1.092, allocations: 6.866 MB / 0.5885 GB, free: 220 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/1.092, allocations: 11.94 kB / 0.5885 GB, free: 208 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002757/1.092, allocations: 55.5 kB / 0.5885 GB, free: 152 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/1.092, allocations: 258.2 kB / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/1.092, allocations: 8 kB / 0.5888 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/1.093, allocations: 27.91 kB / 0.5888 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004189/1.093, allocations: 177.2 kB / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/1.093, allocations: 245.5 kB / 0.5892 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/1.093, allocations: 7.938 kB / 0.5892 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/1.093, allocations: 0 / 0.5892 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/1.094, allocations: 15.89 kB / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/1.095, allocations: 1.219 MB / 0.5904 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/1.096, allocations: 269.4 kB / 0.5907 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/1.096, allocations: 88.3 kB / 0.5908 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/1.096, allocations: 4 kB / 0.5908 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/1.096, allocations: 42.56 kB / 0.5908 GB, free: 13.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 2.354e-06/1.096, allocations: 0.5469 kB / 0.5908 GB, free: 13.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001896/1.098, allocations: 1.283 MB / 0.5921 GB, free: 12.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.285e-05/1.098, allocations: 166.2 kB / 0.5922 GB, free: 11.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/1.098, allocations: 175.8 kB / 0.5924 GB, free: 11.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/1.098, allocations: 33.64 kB / 0.5924 GB, free: 11.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/1.099, allocations: 160.2 kB / 0.5926 GB, free: 11.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/1.099, allocations: 141.9 kB / 0.5927 GB, free: 11.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.374e-05/1.099, allocations: 3.938 kB / 0.5927 GB, free: 11.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/1.099, allocations: 354.7 kB / 0.5931 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/1.099, allocations: 77 kB / 0.5931 GB, free: 10.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/1.099, allocations: 226.5 kB / 0.5934 GB, free: 10.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/1.1, allocations: 107.9 kB / 0.5935 GB, free: 10.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/1.1, allocations: 4 kB / 0.5935 GB, free: 10.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008896/1.101, allocations: 343.6 kB / 0.5938 GB, free: 10.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/1.101, allocations: 4 kB / 0.5938 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/1.101, allocations: 8 kB / 0.5938 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.53e-05/1.101, allocations: 11.94 kB / 0.5938 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006784/1.101, allocations: 115.8 kB / 0.5939 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/1.102, allocations: 8.078 kB / 0.5939 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/1.102, allocations: 8 kB / 0.5939 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.289e-05/1.102, allocations: 23.98 kB / 0.594 GB, free: 10.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0001684/1.102, allocations: 132.8 kB / 0.5941 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/1.102, allocations: 27.72 kB / 0.5941 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002939/1.103, allocations: 107.2 kB / 0.5942 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/1.103, allocations: 8.281 kB / 0.5942 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.103, allocations: 0 / 0.5942 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.103, allocations: 7.969 kB / 0.5942 GB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/1.105, allocations: 0.9483 MB / 0.5952 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.105, allocations: 4 kB / 0.5952 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004996/1.105, allocations: 95.89 kB / 0.5953 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/1.105, allocations: 8 kB / 0.5953 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/1.105, allocations: 8 kB / 0.5953 GB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/1.105, allocations: 4 kB / 0.5953 GB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/1.105, allocations: 7.938 kB / 0.5953 GB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009516/1.106, allocations: 0.9318 MB / 0.5962 GB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001225/1.107, allocations: 1.396 MB / 0.5976 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/1.108, allocations: 108.7 kB / 0.5977 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/1.108, allocations: 4 kB / 0.5977 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/1.108, allocations: 4 kB / 0.5977 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/1.108, allocations: 31.86 kB / 0.5977 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/1.108, allocations: 16 kB / 0.5977 GB, free: 5.871 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001321/1.108, allocations: 136.5 kB / 0.5978 GB, free: 5.738 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001273/1.11, allocations: 72.36 kB / 0.5979 GB, free: 5.668 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.0001823/1.11, allocations: 119 kB / 0.598 GB, free: 5.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005199/1.11, allocations: 240.2 kB / 0.5983 GB, free: 5.309 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.11, allocations: 0.75 kB / 0.5983 GB, free: 5.309 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/1.11, allocations: 123.8 kB / 0.5984 GB, free: 5.188 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006589/1.111, allocations: 48.39 kB / 0.5984 GB, free: 5.141 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/1.113, allocations: 1.097 MB / 0.5995 GB, free: 3.984 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007224/1.114, allocations: 0.8499 MB / 0.6003 GB, free: 3.109 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/1.114, allocations: 4 kB / 0.6003 GB, free: 3.105 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat