Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",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.001708/0.001708, allocations: 207.9 kB / 8.542 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 225.5 MB / 234.4 MB, free: 3.367 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009622/0.0009625, allocations: 93.67 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 45.13 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2787/0.4975, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.6254, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3813/1.007, allocations: 88.92 MB / 0.5907 GB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/1.007, allocations: 75.77 kB / 0.5908 GB, free: 13.84 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01511/1.022, allocations: 5.574 MB / 0.5962 GB, free: 9.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.022, allocations: 8 kB / 0.5962 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/1.022, allocations: 19.81 kB / 0.5962 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/1.023, allocations: 213.2 kB / 0.5964 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/1.023, allocations: 4 kB / 0.5964 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/1.023, allocations: 16.73 kB / 0.5965 GB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.242e-05/1.023, allocations: 30.5 kB / 0.5965 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/1.023, allocations: 56.05 kB / 0.5965 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.023, allocations: 7.875 kB / 0.5965 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/1.023, allocations: 0 / 0.5965 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/1.023, allocations: 4 kB / 0.5965 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/1.023, allocations: 324.7 kB / 0.5969 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.467e-05/1.023, allocations: 56.3 kB / 0.5969 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/1.024, allocations: 16.61 kB / 0.5969 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/1.024, allocations: 11.88 kB / 0.5969 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/1.024, allocations: 30.56 kB / 0.597 GB, free: 8.305 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.605e-06/1.024, allocations: 4 kB / 0.597 GB, free: 8.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006968/1.024, allocations: 225.4 kB / 0.5972 GB, free: 8.113 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/1.024, allocations: 55.41 kB / 0.5972 GB, free: 8.047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/1.025, allocations: 202.9 kB / 0.5974 GB, free: 7.863 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/1.025, allocations: 29.7 kB / 0.5975 GB, free: 7.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/1.025, allocations: 107.3 kB / 0.5976 GB, free: 7.723 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/1.025, allocations: 42.67 kB / 0.5976 GB, free: 7.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/1.025, allocations: 0 / 0.5976 GB, free: 7.688 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/1.025, allocations: 329.8 kB / 0.5979 GB, free: 7.363 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/1.025, allocations: 31.44 kB / 0.5979 GB, free: 7.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.034e-05/1.025, allocations: 33.55 kB / 0.598 GB, free: 7.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.639e-05/1.025, allocations: 42.36 kB / 0.598 GB, free: 7.293 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/1.025, allocations: 0 / 0.598 GB, free: 7.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002045/1.025, allocations: 131.2 kB / 0.5981 GB, free: 7.184 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.025, allocations: 4 kB / 0.5982 GB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.025, allocations: 4 kB / 0.5982 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/1.025, allocations: 0 / 0.5982 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/1.025, allocations: 31.92 kB / 0.5982 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.025, allocations: 480 / 0.5982 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/1.026, allocations: 15.89 kB / 0.5982 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/1.026, allocations: 4 kB / 0.5982 GB, free: 7.125 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 (13): * Single equations (assignments): 13 * 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 8.051e-05/1.026, allocations: 108.3 kB / 0.5983 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/1.026, allocations: 11.81 kB / 0.5983 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/1.026, allocations: 174.4 kB / 0.5985 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/1.026, allocations: 3.938 kB / 0.5985 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.026, allocations: 0 / 0.5985 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.026, allocations: 3.906 kB / 0.5985 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/1.027, allocations: 470.7 kB / 0.5989 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.027, allocations: 4 kB / 0.5989 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/1.027, allocations: 23.98 kB / 0.599 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/1.027, allocations: 4 kB / 0.599 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/1.027, allocations: 0 / 0.599 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.027, allocations: 0 / 0.599 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.027, allocations: 4 kB / 0.599 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002304/1.027, allocations: 246.3 kB / 0.5992 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003645/1.027, allocations: 0.6161 MB / 0.5998 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/1.028, allocations: 104.7 kB / 0.5999 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/1.028, allocations: 3.906 kB / 0.5999 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/1.028, allocations: 8 kB / 0.5999 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/1.028, allocations: 7.984 kB / 0.5999 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/1.028, allocations: 11.5 kB / 0.5999 GB, free: 5.371 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001605/1.028, allocations: 172.3 kB / 0.6001 GB, free: 5.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001001/1.029, allocations: 35.88 kB / 0.6001 GB, free: 5.199 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 (13): * Single equations (assignments): 13 * 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.0006979/1.03, allocations: 327 kB / 0.6005 GB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001744/1.03, allocations: 93.11 kB / 0.6005 GB, free: 4.891 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.03, allocations: 0 / 0.6005 GB, free: 4.891 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/1.03, allocations: 53.17 kB / 0.6006 GB, free: 4.852 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/1.03, allocations: 7.875 kB / 0.6006 GB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/1.031, allocations: 255.5 kB / 0.6008 GB, free: 4.598 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/1.031, allocations: 0.758 MB / 0.6016 GB, free: 3.812 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/1.031, allocations: 0 / 0.6016 GB, free: 3.812 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat does not exist to compare? outputFormat=mat