Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test35",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.001953/0.001953, allocations: 195.6 kB / 8.535 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.584/1.584, allocations: 225.5 MB / 234.4 MB, free: 3.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009976/0.0009976, allocations: 95.25 kB / 286.3 MB, free: 5.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1918/0.1918, allocations: 45.15 MB / 383.3 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2419/0.4338, allocations: 69.36 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.5355, allocations: 63.25 MB / 0.5039 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3291/0.8647, allocations: 89.05 MB / 0.5908 GB, free: 13.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.865, allocations: 71.64 kB / 0.5909 GB, free: 13.8 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.03714/0.9022, allocations: 7.328 MB / 0.598 GB, free: 7.969 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.9023, allocations: 11.94 kB / 0.5981 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.125e-05/0.9023, allocations: 11.81 kB / 0.5981 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.9027, allocations: 194 kB / 0.5983 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.9028, allocations: 0 / 0.5983 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.9028, allocations: 4 kB / 0.5983 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.761e-05/0.9029, allocations: 11.31 kB / 0.5983 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.9031, allocations: 58.7 kB / 0.5983 GB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.9031, allocations: 0 / 0.5983 GB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.9031, allocations: 4 kB / 0.5983 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.9032, allocations: 3.938 kB / 0.5983 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.9038, allocations: 269.6 kB / 0.5986 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.9041, allocations: 36.16 kB / 0.5986 GB, free: 7.316 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.9041, allocations: 16.38 kB / 0.5986 GB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.9042, allocations: 0 / 0.5986 GB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.9042, allocations: 30.56 kB / 0.5987 GB, free: 7.262 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.414e-06/0.9042, allocations: 0 / 0.5987 GB, free: 7.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007342/0.905, allocations: 118.4 kB / 0.5988 GB, free: 7.152 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.9051, allocations: 77.11 kB / 0.5989 GB, free: 7.059 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.9053, allocations: 133.1 kB / 0.599 GB, free: 6.934 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.9054, allocations: 25.7 kB / 0.599 GB, free: 6.902 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.9054, allocations: 87.89 kB / 0.5991 GB, free: 6.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.9055, allocations: 19.23 kB / 0.5991 GB, free: 6.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.9055, allocations: 0 / 0.5991 GB, free: 6.801 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.9057, allocations: 318.3 kB / 0.5994 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.528e-05/0.9058, allocations: 15.23 kB / 0.5994 GB, free: 6.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.9058, allocations: 25.03 kB / 0.5995 GB, free: 6.445 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.548e-05/0.9059, allocations: 18.88 kB / 0.5995 GB, free: 6.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.9059, allocations: 3.984 kB / 0.5995 GB, free: 6.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001981/0.9062, allocations: 64.66 kB / 0.5995 GB, free: 6.367 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.9062, allocations: 8 kB / 0.5995 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.9062, allocations: 0 / 0.5995 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.9062, allocations: 7.844 kB / 0.5996 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.9064, allocations: 16.03 kB / 0.5996 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.9064, allocations: 0 / 0.5996 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.9065, allocations: 7.984 kB / 0.5996 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.9066, allocations: 4 kB / 0.5996 GB, free: 6.324 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 0.0001003/0.9067, allocations: 104.4 kB / 0.5997 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.9068, allocations: 7.906 kB / 0.5997 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.9071, allocations: 84.3 kB / 0.5998 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.9071, allocations: 0 / 0.5998 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.9071, allocations: 3.906 kB / 0.5998 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.9071, allocations: 4 kB / 0.5998 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.9077, allocations: 308.3 kB / 0.6001 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.9077, allocations: 0 / 0.6001 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.9079, allocations: 15.98 kB / 0.6001 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.9079, allocations: 4 kB / 0.6001 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.9079, allocations: 3.906 kB / 0.6001 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.9079, allocations: 3.938 kB / 0.6001 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.908, allocations: 0 / 0.6001 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002507/0.9082, allocations: 168.7 kB / 0.6003 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004065/0.9086, allocations: 0.5399 MB / 0.6008 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.896e-05/0.9087, allocations: 92.5 kB / 0.6009 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.9088, allocations: 0 / 0.6009 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.909, allocations: 4 kB / 0.6009 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.9091, allocations: 7.984 kB / 0.6009 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.9091, allocations: 0 / 0.6009 GB, free: 4.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001353/0.9092, allocations: 109 kB / 0.601 GB, free: 4.852 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001835/0.9111, allocations: 62.11 kB / 0.601 GB, free: 4.801 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.001411/0.9125, allocations: 391 kB / 0.6014 GB, free: 4.496 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.9127, allocations: 26.56 kB / 0.6014 GB, free: 4.477 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9127, allocations: 0 / 0.6014 GB, free: 4.477 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.9128, allocations: 26.98 kB / 0.6015 GB, free: 4.457 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.9132, allocations: 10.02 kB / 0.6015 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.9137, allocations: 129.4 kB / 0.6016 GB, free: 4.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/0.9141, allocations: 0.7075 MB / 0.6023 GB, free: 3.578 MB / 394.7 MB Notification: Performance of SimCode: time 4.138e-06/0.9141, allocations: 0 / 0.6023 GB, free: 3.578 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test35_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1)