Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",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 trunk/package.mo): time 0.001698/0.001698, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009559/0.0009561, allocations: 95.56 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 45.14 MB / 383.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2751/0.5, allocations: 69.37 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.6613, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/1.042, allocations: 88.71 MB / 0.5905 GB, free: 14.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/1.042, allocations: 68.59 kB / 0.5906 GB, free: 14.07 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.01308/1.055, allocations: 4.538 MB / 0.595 GB, free: 10.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/1.055, allocations: 8 kB / 0.595 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/1.055, allocations: 11.81 kB / 0.595 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/1.055, allocations: 205.5 kB / 0.5952 GB, free: 9.992 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/1.055, allocations: 0 / 0.5952 GB, free: 9.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/1.055, allocations: 8 kB / 0.5952 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.203e-05/1.056, allocations: 11.44 kB / 0.5952 GB, free: 9.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.771e-05/1.056, allocations: 41.5 kB / 0.5953 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/1.056, allocations: 3.906 kB / 0.5953 GB, free: 9.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/1.056, allocations: 4 kB / 0.5953 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/1.056, allocations: 0 / 0.5953 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/1.056, allocations: 268.4 kB / 0.5955 GB, free: 9.641 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/1.056, allocations: 28.58 kB / 0.5956 GB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/1.056, allocations: 12.8 kB / 0.5956 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/1.056, allocations: 4 kB / 0.5956 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/1.056, allocations: 30.56 kB / 0.5956 GB, free: 9.555 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/1.056, allocations: 0 / 0.5956 GB, free: 9.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004414/1.057, allocations: 111.7 kB / 0.5957 GB, free: 9.453 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/1.057, allocations: 55.41 kB / 0.5958 GB, free: 9.387 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/1.057, allocations: 130.9 kB / 0.5959 GB, free: 9.262 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/1.057, allocations: 25.7 kB / 0.5959 GB, free: 9.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/1.057, allocations: 87.95 kB / 0.596 GB, free: 9.145 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/1.057, allocations: 19.66 kB / 0.596 GB, free: 9.125 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/1.057, allocations: 3.938 kB / 0.596 GB, free: 9.121 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/1.057, allocations: 322 kB / 0.5963 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.822e-05/1.057, allocations: 11.25 kB / 0.5963 GB, free: 8.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/1.057, allocations: 18.98 kB / 0.5963 GB, free: 8.781 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.477e-05/1.057, allocations: 12.41 kB / 0.5964 GB, free: 8.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/1.057, allocations: 0 / 0.5964 GB, free: 8.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001228/1.058, allocations: 60.53 kB / 0.5964 GB, free: 8.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.058, allocations: 8 kB / 0.5964 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.058, allocations: 0 / 0.5964 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/1.058, allocations: 0 / 0.5964 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/1.058, allocations: 23.92 kB / 0.5964 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/1.058, allocations: 0 / 0.5964 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.342e-05/1.058, allocations: 11.48 kB / 0.5965 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/1.058, allocations: 7.938 kB / 0.5965 GB, free: 8.668 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 7.733e-05/1.058, allocations: 104.9 kB / 0.5966 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/1.058, allocations: 7.906 kB / 0.5966 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/1.058, allocations: 76 kB / 0.5966 GB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.058, allocations: 3.984 kB / 0.5967 GB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.058, allocations: 0 / 0.5967 GB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/1.058, allocations: 0 / 0.5967 GB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/1.059, allocations: 317.2 kB / 0.597 GB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.059, allocations: 384 / 0.597 GB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.198e-05/1.059, allocations: 19.98 kB / 0.597 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.059, allocations: 4 kB / 0.597 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/1.059, allocations: 0 / 0.597 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.059, allocations: 0 / 0.597 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.059, allocations: 4 kB / 0.597 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001401/1.059, allocations: 166.4 kB / 0.5971 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002469/1.059, allocations: 0.5344 MB / 0.5977 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/1.059, allocations: 88.33 kB / 0.5977 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/1.059, allocations: 3.906 kB / 0.5977 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/1.059, allocations: 7.984 kB / 0.5978 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/1.059, allocations: 4 kB / 0.5978 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/1.059, allocations: 0 / 0.5978 GB, free: 7.293 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.036e-05/1.059, allocations: 111.6 kB / 0.5979 GB, free: 7.195 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008761/1.06, allocations: 31.3 kB / 0.5979 GB, free: 7.168 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.0007007/1.061, allocations: 305.6 kB / 0.5982 GB, free: 6.934 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/1.061, allocations: 30.31 kB / 0.5982 GB, free: 6.914 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.061, allocations: 0 / 0.5982 GB, free: 6.914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.169e-05/1.061, allocations: 18.62 kB / 0.5982 GB, free: 6.902 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/1.061, allocations: 11.98 kB / 0.5982 GB, free: 6.891 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/1.062, allocations: 126.5 kB / 0.5984 GB, free: 6.754 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/1.062, allocations: 0.7114 MB / 0.5991 GB, free: 6.016 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/1.062, allocations: 0 / 0.5991 GB, free: 6.016 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat does not exist to compare? outputFormat=mat