Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.Tables.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18",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.001422/0.001422, allocations: 192.4 kB / 7.804 MB, free: 2.504 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.355/1.355, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008081/0.000808, allocations: 90.09 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.1868/0.1868, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.212/0.3989, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.7317, allocations: 58.83 MB / 476.6 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.8723, allocations: 86.08 MB / 0.5495 GB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.8727, allocations: 75.45 kB / 0.5496 GB, free: 12.78 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01917/0.8918, allocations: 6.5 MB / 0.556 GB, free: 6.238 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.8919, allocations: 11.94 kB / 0.556 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.892, allocations: 7.906 kB / 0.556 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.8922, allocations: 187 kB / 0.5562 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.8922, allocations: 0 / 0.5562 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.8923, allocations: 8 kB / 0.5562 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.542e-05/0.8924, allocations: 23.98 kB / 0.5562 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.8925, allocations: 80.19 kB / 0.5563 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.8925, allocations: 0 / 0.5563 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.8926, allocations: 0 / 0.5563 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.8926, allocations: 0 / 0.5563 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.8931, allocations: 361.5 kB / 0.5566 GB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.8933, allocations: 67.44 kB / 0.5567 GB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.8934, allocations: 29.72 kB / 0.5567 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.8934, allocations: 7.984 kB / 0.5567 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.8934, allocations: 34.66 kB / 0.5567 GB, free: 5.312 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.8934, allocations: 0 / 0.5567 GB, free: 5.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005554/0.894, allocations: 169 kB / 0.5569 GB, free: 5.141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.8941, allocations: 110.8 kB / 0.557 GB, free: 5.008 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.8942, allocations: 125 kB / 0.5571 GB, free: 4.879 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.8943, allocations: 33.58 kB / 0.5572 GB, free: 4.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.8944, allocations: 84.14 kB / 0.5572 GB, free: 4.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.8944, allocations: 31.55 kB / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-06/0.8944, allocations: 0 / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.8945, allocations: 326.7 kB / 0.5576 GB, free: 4.395 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.8946, allocations: 16 kB / 0.5576 GB, free: 4.379 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.792e-05/0.8947, allocations: 50.56 kB / 0.5576 GB, free: 4.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.677e-05/0.8947, allocations: 27.98 kB / 0.5577 GB, free: 4.293 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.8947, allocations: 0 / 0.5577 GB, free: 4.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001579/0.8949, allocations: 102 kB / 0.5578 GB, free: 4.188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8949, allocations: 4 kB / 0.5578 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.8949, allocations: 192 / 0.5578 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.8949, allocations: 0 / 0.5578 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.8951, allocations: 31.95 kB / 0.5578 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.8951, allocations: 0 / 0.5578 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.511e-05/0.8951, allocations: 8 kB / 0.5578 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.8952, allocations: 3.984 kB / 0.5578 GB, free: 4.141 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.984e-05/0.8953, allocations: 118.3 kB / 0.5579 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.8953, allocations: 11.84 kB / 0.5579 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.8956, allocations: 117.7 kB / 0.558 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8956, allocations: 0 / 0.558 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8956, allocations: 0 / 0.558 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.8956, allocations: 0 / 0.558 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.8962, allocations: 463 kB / 0.5585 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8962, allocations: 0 / 0.5585 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.609e-05/0.8963, allocations: 31.92 kB / 0.5585 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.8963, allocations: 0 / 0.5585 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.8963, allocations: 0 / 0.5585 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.8963, allocations: 4 kB / 0.5585 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.8963, allocations: 3.984 kB / 0.5585 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002446/0.8966, allocations: 298.9 kB / 0.5588 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000379/0.897, allocations: 0.6714 MB / 0.5595 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.897, allocations: 93 kB / 0.5596 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.8971, allocations: 4 kB / 0.5596 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.8972, allocations: 8 kB / 0.5596 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.8972, allocations: 7.984 kB / 0.5596 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.8972, allocations: 7.938 kB / 0.5596 GB, free: 2.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.916e-05/0.8973, allocations: 106.6 kB / 0.5597 GB, free: 2.078 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009232/0.8982, allocations: 36 kB / 0.5597 GB, free: 2.043 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0009129/0.8992, allocations: 338.7 kB / 0.56 GB, free: 1.742 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.8994, allocations: 63.92 kB / 0.5601 GB, free: 1.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8994, allocations: 4 kB / 0.5601 GB, free: 1.676 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.445e-05/0.8994, allocations: 31.98 kB / 0.5601 GB, free: 1.645 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.8997, allocations: 27.69 kB / 0.5602 GB, free: 1.617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.9002, allocations: 137.2 kB / 0.5603 GB, free: 1.453 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004078/0.9006, allocations: 0.731 MB / 0.561 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.9006, allocations: 0 / 0.561 GB, free: 0.6953 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat does not exist to compare? outputFormat=mat