Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.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.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 188.2 kB / 7.804 MB, free: 2.449 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.162/1.162, 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.000881/0.0008811, allocations: 91.28 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.2115/0.2115, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1715/0.3831, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.6552, allocations: 58.84 MB / 476.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.7818, allocations: 88.51 MB / 0.5519 GB, free: 10.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.7821, allocations: 67.97 kB / 0.552 GB, free: 10.43 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.01972/0.8018, allocations: 6.742 MB / 0.5586 GB, free: 3.625 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.8018, allocations: 19.92 kB / 0.5586 GB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.8021, allocations: 51.52 kB / 0.5586 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.8024, allocations: 246.5 kB / 0.5589 GB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.8025, allocations: 12 kB / 0.5589 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.8025, allocations: 27.89 kB / 0.5589 GB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003571/0.8029, allocations: 169.2 kB / 0.5591 GB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.8033, allocations: 253.5 kB / 0.5593 GB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.8033, allocations: 4 kB / 0.5593 GB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.8034, allocations: 3.906 kB / 0.5593 GB, free: 2.785 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.8034, allocations: 8 kB / 0.5593 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.8053, allocations: 1.234 MB / 0.5605 GB, free: 1.457 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004458/0.8057, allocations: 257.5 kB / 0.5608 GB, free: 1.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.806, allocations: 92.7 kB / 0.5609 GB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.806, allocations: 11.92 kB / 0.5609 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.806, allocations: 38.56 kB / 0.5609 GB, free: 1.004 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 2.344e-06/0.806, allocations: 0 / 0.5609 GB, free: 1.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.001886/0.8079, allocations: 1.279 MB / 0.5622 GB, free: 15.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/0.808, allocations: 170 kB / 0.5623 GB, free: 15.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.8082, allocations: 175.9 kB / 0.5625 GB, free: 15.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.8083, allocations: 25.7 kB / 0.5625 GB, free: 15.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.549e-05/0.8084, allocations: 160.3 kB / 0.5627 GB, free: 14.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.8085, allocations: 149.8 kB / 0.5628 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.8085, allocations: 0 / 0.5628 GB, free: 14.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.8087, allocations: 346.7 kB / 0.5631 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.8088, allocations: 73 kB / 0.5632 GB, free: 14.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.8091, allocations: 230.5 kB / 0.5634 GB, free: 14.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.8093, allocations: 120.8 kB / 0.5635 GB, free: 13.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.8093, allocations: 4 kB / 0.5635 GB, free: 13.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005556/0.8099, allocations: 349 kB / 0.5639 GB, free: 13.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.8099, allocations: 4 kB / 0.5639 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.8099, allocations: 4 kB / 0.5639 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.8099, allocations: 8.375 kB / 0.5639 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.8104, allocations: 119.8 kB / 0.564 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.8104, allocations: 11.94 kB / 0.564 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.8107, allocations: 11.98 kB / 0.564 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.8107, allocations: 20 kB / 0.564 GB, free: 13.45 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.0001244/0.8108, allocations: 118.1 kB / 0.5642 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.811, allocations: 27.72 kB / 0.5642 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.8112, allocations: 119.2 kB / 0.5643 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.8112, allocations: 4 kB / 0.5643 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.8112, allocations: 4 kB / 0.5643 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.8112, allocations: 0 / 0.5643 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.8128, allocations: 0.9442 MB / 0.5652 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.8128, allocations: 4 kB / 0.5652 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.8133, allocations: 99.83 kB / 0.5653 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.8133, allocations: 4.25 kB / 0.5653 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.8134, allocations: 16.19 kB / 0.5654 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.8134, allocations: 4 kB / 0.5654 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.8134, allocations: 11.92 kB / 0.5654 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008559/0.8142, allocations: 0.9122 MB / 0.5663 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001079/0.8153, allocations: 1.394 MB / 0.5676 GB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.181e-05/0.8154, allocations: 104.7 kB / 0.5677 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.8155, allocations: 11.98 kB / 0.5677 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.8159, allocations: 8 kB / 0.5677 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.8159, allocations: 27.88 kB / 0.5678 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.8159, allocations: 12 kB / 0.5678 GB, free: 9.289 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001164/0.8161, allocations: 140.5 kB / 0.5679 GB, free: 9.152 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001118/0.8172, allocations: 64 kB / 0.568 GB, free: 9.09 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.0001502/0.8173, allocations: 108.9 kB / 0.5681 GB, free: 8.977 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004649/0.8178, allocations: 253.2 kB / 0.5683 GB, free: 8.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8178, allocations: 4 kB / 0.5683 GB, free: 8.727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.818, allocations: 113.1 kB / 0.5684 GB, free: 8.617 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006069/0.8186, allocations: 60.42 kB / 0.5685 GB, free: 8.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.8205, allocations: 1.113 MB / 0.5696 GB, free: 7.387 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/0.8211, allocations: 0.8422 MB / 0.5704 GB, free: 6.516 MB / 410.7 MB Notification: Performance of SimCode: time 4.1e-07/0.8211, allocations: 0 / 0.5704 GB, free: 6.516 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat