Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",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.001268/0.001268, allocations: 208.7 kB / 8.541 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009372/0.0009369, allocations: 95.25 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 45.15 MB / 383.3 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3058/0.5269, allocations: 69.37 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.6633, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.415/1.078, allocations: 88.71 MB / 0.5905 GB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.079, allocations: 66.28 kB / 0.5906 GB, free: 14.32 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.01347/1.092, allocations: 4.586 MB / 0.595 GB, free: 10.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.092, allocations: 12 kB / 0.595 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/1.092, allocations: 7.906 kB / 0.595 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/1.093, allocations: 198.1 kB / 0.5952 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/1.093, allocations: 4 kB / 0.5952 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/1.093, allocations: 0 / 0.5952 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.624e-05/1.093, allocations: 15.19 kB / 0.5953 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.117e-05/1.093, allocations: 45.28 kB / 0.5953 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.093, allocations: 3.938 kB / 0.5953 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/1.093, allocations: 0 / 0.5953 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.093, allocations: 0 / 0.5953 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/1.093, allocations: 265.8 kB / 0.5956 GB, free: 9.883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/1.094, allocations: 36.33 kB / 0.5956 GB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/1.094, allocations: 12.8 kB / 0.5956 GB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/1.094, allocations: 0 / 0.5956 GB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/1.094, allocations: 37.88 kB / 0.5956 GB, free: 9.789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/1.094, allocations: 0 / 0.5956 GB, free: 9.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004925/1.094, allocations: 107.4 kB / 0.5957 GB, free: 9.688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/1.094, allocations: 55.03 kB / 0.5958 GB, free: 9.625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/1.095, allocations: 147.2 kB / 0.5959 GB, free: 9.484 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/1.095, allocations: 29.7 kB / 0.596 GB, free: 9.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/1.095, allocations: 91.53 kB / 0.5961 GB, free: 9.359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/1.095, allocations: 15.44 kB / 0.5961 GB, free: 9.348 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/1.095, allocations: 3.938 kB / 0.5961 GB, free: 9.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/1.095, allocations: 322.2 kB / 0.5964 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.644e-05/1.095, allocations: 11.5 kB / 0.5964 GB, free: 9.016 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.257e-05/1.095, allocations: 11.38 kB / 0.5964 GB, free: 9.008 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.319e-05/1.095, allocations: 15.42 kB / 0.5964 GB, free: 8.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/1.095, allocations: 0 / 0.5964 GB, free: 8.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001213/1.095, allocations: 72.09 kB / 0.5965 GB, free: 8.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.095, allocations: 4 kB / 0.5965 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.095, allocations: 0 / 0.5965 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.095, allocations: 3.906 kB / 0.5965 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/1.095, allocations: 15.98 kB / 0.5965 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/1.095, allocations: 0 / 0.5965 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.54e-05/1.095, allocations: 11.94 kB / 0.5965 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/1.095, allocations: 4.25 kB / 0.5965 GB, free: 8.891 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.351e-05/1.095, allocations: 104.9 kB / 0.5966 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/1.095, allocations: 7.906 kB / 0.5966 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/1.096, allocations: 88.69 kB / 0.5967 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/1.096, allocations: 0 / 0.5967 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.096, allocations: 0 / 0.5967 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/1.096, allocations: 0 / 0.5967 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/1.096, allocations: 327.3 kB / 0.597 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.096, allocations: 3.906 kB / 0.597 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.461e-05/1.096, allocations: 15.98 kB / 0.597 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/1.096, allocations: 0 / 0.597 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/1.096, allocations: 0 / 0.597 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.096, allocations: 4 kB / 0.597 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.096, allocations: 0 / 0.597 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001601/1.096, allocations: 166.3 kB / 0.5972 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002959/1.097, allocations: 0.5382 MB / 0.5977 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/1.097, allocations: 85.02 kB / 0.5978 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/1.097, allocations: 0 / 0.5978 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/1.097, allocations: 15.98 kB / 0.5978 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/1.097, allocations: 3.391 kB / 0.5978 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/1.097, allocations: 8.156 kB / 0.5978 GB, free: 7.492 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001136/1.097, allocations: 120.1 kB / 0.598 GB, free: 7.391 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009594/1.098, allocations: 19.86 kB / 0.598 GB, free: 7.375 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.0007049/1.099, allocations: 297.7 kB / 0.5983 GB, free: 7.145 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/1.099, allocations: 34.94 kB / 0.5983 GB, free: 7.117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.099, allocations: 0 / 0.5983 GB, free: 7.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.363e-05/1.099, allocations: 18.5 kB / 0.5983 GB, free: 7.105 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/1.099, allocations: 15.92 kB / 0.5983 GB, free: 7.094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/1.1, allocations: 126.8 kB / 0.5984 GB, free: 6.957 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/1.1, allocations: 0.7114 MB / 0.5991 GB, free: 6.219 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/1.1, allocations: 0 / 0.5991 GB, free: 6.219 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat does not exist to compare? outputFormat=mat