Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21",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.001256/0.001256, allocations: 189.4 kB / 7.801 MB, free: 2.5 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.376/1.376, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.000862/0.0008623, allocations: 99.55 kB / 261.4 MB, free: 13.55 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.2074/0.2074, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2452/0.4527, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.8433, allocations: 58.85 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.9844, allocations: 85.85 MB / 0.5493 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.9847, allocations: 75.45 kB / 0.5494 GB, free: 13 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01843/1.003, allocations: 6.176 MB / 0.5554 GB, free: 6.785 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/1.003, allocations: 8 kB / 0.5554 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/1.003, allocations: 7.906 kB / 0.5554 GB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/1.004, allocations: 190.9 kB / 0.5556 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/1.004, allocations: 0 / 0.5556 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/1.004, allocations: 0 / 0.5556 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.467e-05/1.004, allocations: 15.91 kB / 0.5556 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/1.004, allocations: 51.41 kB / 0.5557 GB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/1.004, allocations: 4 kB / 0.5557 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/1.004, allocations: 4 kB / 0.5557 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/1.004, allocations: 0 / 0.5557 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/1.004, allocations: 257.3 kB / 0.5559 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/1.004, allocations: 25.72 kB / 0.556 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/1.004, allocations: 12.94 kB / 0.556 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/1.005, allocations: 4 kB / 0.556 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/1.005, allocations: 30.56 kB / 0.556 GB, free: 6.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/1.005, allocations: 4 kB / 0.556 GB, free: 6.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000422/1.005, allocations: 97.31 kB / 0.5561 GB, free: 5.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/1.005, allocations: 81.11 kB / 0.5562 GB, free: 5.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/1.005, allocations: 125 kB / 0.5563 GB, free: 5.746 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/1.005, allocations: 29.7 kB / 0.5563 GB, free: 5.711 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/1.005, allocations: 84.12 kB / 0.5564 GB, free: 5.625 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/1.005, allocations: 19.75 kB / 0.5564 GB, free: 5.605 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/1.005, allocations: 0 / 0.5564 GB, free: 5.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/1.005, allocations: 318.8 kB / 0.5567 GB, free: 5.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/1.006, allocations: 4 kB / 0.5567 GB, free: 5.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.009e-05/1.006, allocations: 25.72 kB / 0.5568 GB, free: 5.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.79e-05/1.006, allocations: 8.031 kB / 0.5568 GB, free: 5.242 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.006, allocations: 3.906 kB / 0.5568 GB, free: 5.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001221/1.006, allocations: 61.81 kB / 0.5568 GB, free: 5.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.006, allocations: 4 kB / 0.5568 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.006, allocations: 7.969 kB / 0.5568 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.006, allocations: 7.938 kB / 0.5568 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/1.006, allocations: 15.98 kB / 0.5569 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/1.006, allocations: 0 / 0.5569 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/1.006, allocations: 8 kB / 0.5569 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/1.006, allocations: 0 / 0.5569 GB, free: 5.129 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.793e-05/1.006, allocations: 106.4 kB / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/1.006, allocations: 7.906 kB / 0.557 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/1.006, allocations: 73.67 kB / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.006, allocations: 3.938 kB / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.006, allocations: 0 / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/1.006, allocations: 7.906 kB / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/1.007, allocations: 295.1 kB / 0.5573 GB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.007, allocations: 0 / 0.5573 GB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/1.007, allocations: 15.98 kB / 0.5574 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/1.007, allocations: 4 kB / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/1.007, allocations: 4 kB / 0.5574 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/1.007, allocations: 3.906 kB / 0.5574 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.007, allocations: 7.938 kB / 0.5574 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001944/1.007, allocations: 155.4 kB / 0.5575 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003678/1.007, allocations: 0.5235 MB / 0.558 GB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/1.008, allocations: 89.02 kB / 0.5581 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/1.008, allocations: 0 / 0.5581 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-05/1.008, allocations: 15.98 kB / 0.5581 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/1.008, allocations: 0 / 0.5581 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/1.008, allocations: 0 / 0.5581 GB, free: 3.719 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.863e-05/1.008, allocations: 103.3 kB / 0.5582 GB, free: 3.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009728/1.009, allocations: 35.89 kB / 0.5583 GB, free: 3.582 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.000917/1.01, allocations: 336.2 kB / 0.5586 GB, free: 3.289 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001528/1.01, allocations: 28 kB / 0.5586 GB, free: 3.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.01, allocations: 0 / 0.5586 GB, free: 3.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.214e-05/1.01, allocations: 16.12 kB / 0.5586 GB, free: 3.246 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/1.01, allocations: 15.84 kB / 0.5586 GB, free: 3.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/1.011, allocations: 95.95 kB / 0.5587 GB, free: 3.109 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003733/1.011, allocations: 0.7075 MB / 0.5594 GB, free: 2.375 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/1.011, allocations: 0 / 0.5594 GB, free: 2.375 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat does not exist to compare? outputFormat=mat