Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",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.001102/0.001102, allocations: 191.2 kB / 8.528 MB, free: 1.754 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.391/1.391, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.001062/0.001062, allocations: 92.72 kB / 281.2 MB, free: 5.457 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.2003/0.2003, allocations: 44.14 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3215/0.5218, allocations: 68.03 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08565/0.6075, allocations: 61.92 MB / 0.4942 GB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2927/0.9003, allocations: 87.34 MB / 0.5795 GB, free: 9.371 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.9005, allocations: 78.3 kB / 0.5795 GB, free: 9.316 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.01102/0.9115, allocations: 4.297 MB / 0.5837 GB, free: 4.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.9116, allocations: 11.94 kB / 0.5838 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.9116, allocations: 11.91 kB / 0.5838 GB, free: 4.969 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.9119, allocations: 210.7 kB / 0.584 GB, free: 4.723 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.9119, allocations: 0 / 0.584 GB, free: 4.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.9119, allocations: 4 kB / 0.584 GB, free: 4.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.945e-05/0.912, allocations: 15.98 kB / 0.584 GB, free: 4.703 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.662e-05/0.912, allocations: 49.69 kB / 0.584 GB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.9121, allocations: 4 kB / 0.584 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.9121, allocations: 3.938 kB / 0.584 GB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.9121, allocations: 0 / 0.584 GB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.9125, allocations: 285.2 kB / 0.5843 GB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.977e-05/0.9126, allocations: 33.7 kB / 0.5843 GB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.9126, allocations: 20.8 kB / 0.5844 GB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.9127, allocations: 0 / 0.5844 GB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.9127, allocations: 30.56 kB / 0.5844 GB, free: 4.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.9127, allocations: 0 / 0.5844 GB, free: 4.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006126/0.9133, allocations: 165.5 kB / 0.5846 GB, free: 4.055 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.9134, allocations: 55.41 kB / 0.5846 GB, free: 3.988 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.9136, allocations: 173.4 kB / 0.5848 GB, free: 3.809 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.9136, allocations: 25.7 kB / 0.5848 GB, free: 3.777 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.9137, allocations: 96.03 kB / 0.5849 GB, free: 3.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.9137, allocations: 23.64 kB / 0.5849 GB, free: 3.656 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.9138, allocations: 0 / 0.5849 GB, free: 3.656 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.9139, allocations: 330.7 kB / 0.5852 GB, free: 3.324 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/0.914, allocations: 20 kB / 0.5852 GB, free: 3.305 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.914, allocations: 20 kB / 0.5853 GB, free: 3.285 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.235e-05/0.9141, allocations: 27.92 kB / 0.5853 GB, free: 3.258 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.9141, allocations: 0 / 0.5853 GB, free: 3.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001633/0.9143, allocations: 93.64 kB / 0.5854 GB, free: 3.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.9143, allocations: 4 kB / 0.5854 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.9143, allocations: 3.984 kB / 0.5854 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.9143, allocations: 0 / 0.5854 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.9145, allocations: 23.98 kB / 0.5854 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.9145, allocations: 4 kB / 0.5854 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.858e-05/0.9145, allocations: 7.906 kB / 0.5854 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.9146, allocations: 0 / 0.5854 GB, free: 3.117 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 0.0001031/0.9147, allocations: 105 kB / 0.5855 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.9147, allocations: 11.81 kB / 0.5855 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.915, allocations: 110.4 kB / 0.5856 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.915, allocations: 8 kB / 0.5856 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.9151, allocations: 3.984 kB / 0.5856 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.9151, allocations: 0 / 0.5856 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006319/0.9157, allocations: 379.8 kB / 0.586 GB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.9157, allocations: 4 kB / 0.586 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/0.9158, allocations: 27.95 kB / 0.586 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9158, allocations: 3.938 kB / 0.586 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.9159, allocations: 0 / 0.586 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.9159, allocations: 0 / 0.586 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.9159, allocations: 4 kB / 0.586 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002063/0.9161, allocations: 201.9 kB / 0.5862 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003091/0.9164, allocations: 0.5765 MB / 0.5868 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.9165, allocations: 96.91 kB / 0.5869 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.9165, allocations: 4 kB / 0.5869 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.9166, allocations: 8 kB / 0.5869 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.9167, allocations: 7.984 kB / 0.5869 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.9167, allocations: 0 / 0.5869 GB, free: 1.449 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001219/0.9168, allocations: 144.1 kB / 0.5871 GB, free: 1.309 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009615/0.9178, allocations: 39.83 kB / 0.5871 GB, free: 1.27 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.0008872/0.9187, allocations: 352 kB / 0.5874 GB, free: 1.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.9188, allocations: 44 kB / 0.5875 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9189, allocations: 0 / 0.5875 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.155e-05/0.9189, allocations: 31.92 kB / 0.5875 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.9192, allocations: 17.81 kB / 0.5875 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.9197, allocations: 180.5 kB / 0.5877 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/0.9201, allocations: 0.7309 MB / 0.5884 GB, free: 15.95 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.9202, allocations: 3.938 kB / 0.5884 GB, free: 15.95 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat does not exist to compare? outputFormat=mat