Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",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.001305/0.001305, allocations: 171.6 kB / 8.514 MB, free: 1.852 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.411/1.411, allocations: 221.4 MB / 230.3 MB, free: 7.801 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.0009066/0.0009066, allocations: 87.36 kB / 281.2 MB, free: 5.551 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.168/0.168, allocations: 44.15 MB / 376.1 MB, free: 3.273 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2265/0.3946, allocations: 68.03 MB / 444.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.5121, allocations: 61.91 MB / 0.4942 GB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3484/0.8605, allocations: 87.23 MB / 0.5794 GB, free: 9.543 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.8608, allocations: 76.95 kB / 0.5794 GB, free: 9.488 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01108/0.8719, allocations: 4.278 MB / 0.5836 GB, free: 5.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.872, allocations: 11.94 kB / 0.5836 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.872, allocations: 7.906 kB / 0.5836 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.8723, allocations: 210.7 kB / 0.5838 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.8723, allocations: 4 kB / 0.5838 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.8723, allocations: 0 / 0.5838 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.767e-05/0.8724, allocations: 16 kB / 0.5839 GB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.778e-05/0.8725, allocations: 45.69 kB / 0.5839 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.8725, allocations: 0 / 0.5839 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.8725, allocations: 0 / 0.5839 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.8725, allocations: 0 / 0.5839 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.8729, allocations: 277.2 kB / 0.5842 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.73e-05/0.8729, allocations: 33.7 kB / 0.5842 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.873, allocations: 16.8 kB / 0.5842 GB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.873, allocations: 4 kB / 0.5842 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.873, allocations: 30.56 kB / 0.5842 GB, free: 4.434 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.873, allocations: 0 / 0.5842 GB, free: 4.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005249/0.8736, allocations: 149.3 kB / 0.5844 GB, free: 4.281 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.8736, allocations: 55.39 kB / 0.5844 GB, free: 4.215 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.8738, allocations: 173.4 kB / 0.5846 GB, free: 4.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.8738, allocations: 25.7 kB / 0.5846 GB, free: 4.008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.8739, allocations: 96.03 kB / 0.5847 GB, free: 3.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.8739, allocations: 23.64 kB / 0.5847 GB, free: 3.887 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.874, allocations: 0 / 0.5847 GB, free: 3.887 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.8741, allocations: 326.7 kB / 0.5851 GB, free: 3.559 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.8741, allocations: 16 kB / 0.5851 GB, free: 3.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.8742, allocations: 16 kB / 0.5851 GB, free: 3.527 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.46e-05/0.8742, allocations: 16.23 kB / 0.5851 GB, free: 3.512 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.8742, allocations: 0.75 kB / 0.5851 GB, free: 3.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000122/0.8744, allocations: 77.52 kB / 0.5852 GB, free: 3.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.8744, allocations: 4 kB / 0.5852 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.8744, allocations: 0 / 0.5852 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.8744, allocations: 4 kB / 0.5852 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.8745, allocations: 27.98 kB / 0.5852 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.8746, allocations: 0 / 0.5852 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.8746, allocations: 11.89 kB / 0.5852 GB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.8746, allocations: 11.94 kB / 0.5852 GB, free: 3.371 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 (8): * Single equations (assignments): 8 * 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 7.56e-05/0.8747, allocations: 101 kB / 0.5853 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.8748, allocations: 11.81 kB / 0.5853 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.875, allocations: 102.4 kB / 0.5854 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.875, allocations: 0 / 0.5854 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.875, allocations: 0 / 0.5854 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.875, allocations: 3.984 kB / 0.5854 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.8754, allocations: 368 kB / 0.5858 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8754, allocations: 0 / 0.5858 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.836e-05/0.8755, allocations: 24.02 kB / 0.5858 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.8755, allocations: 7.938 kB / 0.5858 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.8756, allocations: 0 / 0.5858 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.8756, allocations: 80 / 0.5858 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.8756, allocations: 3.984 kB / 0.5858 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001895/0.8758, allocations: 193.9 kB / 0.586 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003297/0.8761, allocations: 0.5609 MB / 0.5866 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.8762, allocations: 96.91 kB / 0.5867 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.8762, allocations: 4 kB / 0.5867 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.8763, allocations: 8 kB / 0.5867 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.8764, allocations: 11.98 kB / 0.5867 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.8764, allocations: 0 / 0.5867 GB, free: 1.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001192/0.8765, allocations: 144.1 kB / 0.5868 GB, free: 1.613 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008208/0.8773, allocations: 35.84 kB / 0.5869 GB, free: 1.578 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.0007532/0.8781, allocations: 344.5 kB / 0.5872 GB, free: 1.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.8782, allocations: 43.98 kB / 0.5872 GB, free: 1.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8782, allocations: 0 / 0.5872 GB, free: 1.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-05/0.8783, allocations: 32.23 kB / 0.5873 GB, free: 1.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.8785, allocations: 16.14 kB / 0.5873 GB, free: 1.234 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.879, allocations: 168.5 kB / 0.5874 GB, free: 1.043 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/0.8794, allocations: 0.7309 MB / 0.5881 GB, free: 292 kB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.8794, allocations: 0 / 0.5881 GB, free: 292 kB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat does not exist to compare? outputFormat=mat