Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",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.00247/0.00247, allocations: 194.2 kB / 7.805 MB, free: 2.492 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.464/1.464, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009834/0.0009836, allocations: 87.44 kB / 261.4 MB, free: 13.54 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.2051/0.2051, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2329/0.4381, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.7703, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.9048, allocations: 85.52 MB / 0.549 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.9053, allocations: 71.97 kB / 0.5491 GB, free: 13.34 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.01022/0.9155, allocations: 3.527 MB / 0.5525 GB, free: 9.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.9156, allocations: 15.94 kB / 0.5525 GB, free: 9.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.9156, allocations: 3.906 kB / 0.5525 GB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.9159, allocations: 190.9 kB / 0.5527 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.9159, allocations: 3.906 kB / 0.5527 GB, free: 9.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.9159, allocations: 7.938 kB / 0.5527 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.014e-05/0.916, allocations: 12 kB / 0.5527 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.776e-05/0.9161, allocations: 41.69 kB / 0.5528 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.9161, allocations: 0 / 0.5528 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.9162, allocations: 4 kB / 0.5528 GB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.9162, allocations: 0 / 0.5528 GB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.9165, allocations: 245.4 kB / 0.553 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.9167, allocations: 29.66 kB / 0.553 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.9168, allocations: 16.86 kB / 0.5531 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.9168, allocations: 0 / 0.5531 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.9168, allocations: 38.64 kB / 0.5531 GB, free: 9.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.735e-06/0.9168, allocations: 3.984 kB / 0.5531 GB, free: 9.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004431/0.9173, allocations: 93.39 kB / 0.5532 GB, free: 8.969 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.9173, allocations: 51.41 kB / 0.5532 GB, free: 8.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.9175, allocations: 129.2 kB / 0.5534 GB, free: 8.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.9175, allocations: 29.64 kB / 0.5534 GB, free: 8.734 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.9176, allocations: 88.12 kB / 0.5535 GB, free: 8.645 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.9176, allocations: 15.72 kB / 0.5535 GB, free: 8.629 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.9176, allocations: 0 / 0.5535 GB, free: 8.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.9178, allocations: 318.8 kB / 0.5538 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.9178, allocations: 12 kB / 0.5538 GB, free: 8.297 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.9178, allocations: 8 kB / 0.5538 GB, free: 8.289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/0.9178, allocations: 15.94 kB / 0.5538 GB, free: 8.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.9179, allocations: 0 / 0.5538 GB, free: 8.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001049/0.918, allocations: 57.59 kB / 0.5539 GB, free: 8.211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.918, allocations: 4 kB / 0.5539 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.918, allocations: 0 / 0.5539 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.918, allocations: 0 / 0.5539 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.9181, allocations: 16.23 kB / 0.5539 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.9181, allocations: 4 kB / 0.5539 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.9182, allocations: 16 kB / 0.5539 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.9182, allocations: 0 / 0.5539 GB, free: 8.172 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.809e-05/0.9183, allocations: 117.7 kB / 0.554 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.9183, allocations: 3.906 kB / 0.554 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.9185, allocations: 65.86 kB / 0.5541 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.9185, allocations: 4 kB / 0.5541 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9185, allocations: 0 / 0.5541 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9185, allocations: 0 / 0.5541 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.9188, allocations: 314.9 kB / 0.5544 GB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.9188, allocations: 3.984 kB / 0.5544 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.9189, allocations: 12 kB / 0.5544 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.9189, allocations: 0 / 0.5544 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.9189, allocations: 0 / 0.5544 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.9189, allocations: 0 / 0.5544 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.919, allocations: 0 / 0.5544 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001421/0.9191, allocations: 159.5 kB / 0.5546 GB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002571/0.9194, allocations: 0.5311 MB / 0.5551 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.9194, allocations: 85 kB / 0.5552 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.9195, allocations: 4 kB / 0.5552 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.9195, allocations: 8.25 kB / 0.5552 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.9196, allocations: 7.984 kB / 0.5552 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.9196, allocations: 8 kB / 0.5552 GB, free: 6.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001074/0.9197, allocations: 103.3 kB / 0.5553 GB, free: 6.656 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008166/0.9205, allocations: 27.84 kB / 0.5553 GB, free: 6.629 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.000674/0.9212, allocations: 305 kB / 0.5556 GB, free: 6.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.9213, allocations: 27.94 kB / 0.5556 GB, free: 6.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9214, allocations: 0 / 0.5556 GB, free: 6.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.333e-05/0.9214, allocations: 16 kB / 0.5557 GB, free: 6.324 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.9216, allocations: 11.84 kB / 0.5557 GB, free: 6.312 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.9219, allocations: 103.7 kB / 0.5558 GB, free: 6.184 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.9223, allocations: 0.7153 MB / 0.5565 GB, free: 5.441 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.9223, allocations: 0 / 0.5565 GB, free: 5.441 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1)