Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 186.9 kB / 7.8 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009328/0.0009332, allocations: 90.28 kB / 261.4 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.181/0.181, allocations: 43.48 MB / 352.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2014/0.3825, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.6537, allocations: 58.83 MB / 476.7 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.7755, allocations: 86.48 MB / 0.5499 GB, free: 12.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.7758, allocations: 67.97 kB / 0.55 GB, free: 12.38 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.01884/0.7947, allocations: 8.183 MB / 0.558 GB, free: 4.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.7947, allocations: 8 kB / 0.558 GB, free: 4.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.7948, allocations: 43.44 kB / 0.558 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.7954, allocations: 331.3 kB / 0.5583 GB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.7954, allocations: 0 / 0.5583 GB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.7954, allocations: 0 / 0.5583 GB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.594e-05/0.7955, allocations: 23.92 kB / 0.5584 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.552e-05/0.7956, allocations: 49.69 kB / 0.5584 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.7956, allocations: 3.906 kB / 0.5584 GB, free: 3.637 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.7956, allocations: 0 / 0.5584 GB, free: 3.637 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.7957, allocations: 0 / 0.5584 GB, free: 3.637 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.7963, allocations: 421.2 kB / 0.5588 GB, free: 3.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.7965, allocations: 37.66 kB / 0.5589 GB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/0.7965, allocations: 16.94 kB / 0.5589 GB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.7965, allocations: 3.938 kB / 0.5589 GB, free: 3.121 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.7966, allocations: 38.55 kB / 0.5589 GB, free: 3.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.7966, allocations: 0 / 0.5589 GB, free: 3.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005217/0.7971, allocations: 188.1 kB / 0.5591 GB, free: 2.883 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.7972, allocations: 55.31 kB / 0.5592 GB, free: 2.816 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.7983, allocations: 0.7512 MB / 0.5599 GB, free: 2.055 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.7983, allocations: 29.7 kB / 0.5599 GB, free: 2.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.7984, allocations: 140 kB / 0.56 GB, free: 1.879 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.7985, allocations: 15.75 kB / 0.5601 GB, free: 1.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.7985, allocations: 4 kB / 0.5601 GB, free: 1.859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7986, allocations: 358.7 kB / 0.5604 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.7987, allocations: 19.98 kB / 0.5604 GB, free: 1.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.7987, allocations: 8 kB / 0.5604 GB, free: 1.473 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.005e-05/0.7987, allocations: 12.19 kB / 0.5604 GB, free: 1.461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.7987, allocations: 0 / 0.5604 GB, free: 1.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001635/0.7989, allocations: 105.2 kB / 0.5605 GB, free: 1.352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.7989, allocations: 4 kB / 0.5605 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7989, allocations: 3.906 kB / 0.5606 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.7989, allocations: 3.984 kB / 0.5606 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.799, allocations: 16 kB / 0.5606 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.799, allocations: 0 / 0.5606 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.505e-05/0.7991, allocations: 11.98 kB / 0.5606 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.7992, allocations: 0 / 0.5606 GB, free: 1.312 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.524e-05/0.7992, allocations: 113.7 kB / 0.5607 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.7994, allocations: 43.44 kB / 0.5607 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.7996, allocations: 125.2 kB / 0.5609 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7996, allocations: 0 / 0.5609 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7996, allocations: 0 / 0.5609 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.7996, allocations: 0 / 0.5609 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006861/0.8003, allocations: 0.5535 MB / 0.5614 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.8003, allocations: 0 / 0.5614 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.8004, allocations: 15.98 kB / 0.5614 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.8004, allocations: 0 / 0.5614 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.8005, allocations: 4 kB / 0.5614 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.8005, allocations: 0 / 0.5614 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.8005, allocations: 3.906 kB / 0.5614 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002347/0.8007, allocations: 202.9 kB / 0.5616 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000447/0.8012, allocations: 0.5778 MB / 0.5622 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.8014, allocations: 160.5 kB / 0.5623 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.8014, allocations: 4 kB / 0.5623 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.8016, allocations: 4 kB / 0.5623 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.8016, allocations: 7.984 kB / 0.5623 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.8016, allocations: 4 kB / 0.5623 GB, free: 15.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006461/0.8023, allocations: 0.6082 MB / 0.5629 GB, free: 14.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008778/0.8032, allocations: 55.94 kB / 0.563 GB, free: 14.73 MB / 410.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.0006696/0.8038, allocations: 301.9 kB / 0.5633 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.804, allocations: 39.92 kB / 0.5633 GB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.804, allocations: 0 / 0.5633 GB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.578e-05/0.804, allocations: 16 kB / 0.5633 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.8043, allocations: 29.72 kB / 0.5634 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.8056, allocations: 0.6997 MB / 0.564 GB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/0.8061, allocations: 0.8645 MB / 0.5649 GB, free: 12.76 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.8061, allocations: 0 / 0.5649 GB, free: 12.76 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1)