Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5",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.002278/0.002278, allocations: 188.9 kB / 7.806 MB, free: 2.23 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.51/1.51, 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.001007/0.001007, allocations: 90.3 kB / 261.4 MB, free: 13.55 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.2234/0.2234, allocations: 43.49 MB / 352.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2082/0.4317, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.7361, allocations: 58.84 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.8669, allocations: 85.57 MB / 0.549 GB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.8673, allocations: 75.45 kB / 0.5491 GB, free: 13.25 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.01102/0.8783, allocations: 3.993 MB / 0.553 GB, free: 9.219 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.8784, allocations: 11.98 kB / 0.553 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.183e-05/0.8785, allocations: 7.906 kB / 0.553 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.8788, allocations: 197 kB / 0.5532 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.8788, allocations: 4 kB / 0.5532 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.8789, allocations: 4 kB / 0.5532 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.013e-05/0.879, allocations: 12 kB / 0.5532 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.762e-05/0.8791, allocations: 41.69 kB / 0.5533 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.8791, allocations: 3.906 kB / 0.5533 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.8791, allocations: 0 / 0.5533 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.8791, allocations: 0 / 0.5533 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.8795, allocations: 273.3 kB / 0.5535 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.8797, allocations: 29.81 kB / 0.5536 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.8798, allocations: 16.84 kB / 0.5536 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.8798, allocations: 0 / 0.5536 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.8799, allocations: 30.56 kB / 0.5536 GB, free: 8.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.8799, allocations: 0 / 0.5536 GB, free: 8.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000491/0.8804, allocations: 109.2 kB / 0.5537 GB, free: 8.379 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.8804, allocations: 51.41 kB / 0.5538 GB, free: 8.316 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.8806, allocations: 193.5 kB / 0.554 GB, free: 8.117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.8807, allocations: 25.7 kB / 0.554 GB, free: 8.086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.8807, allocations: 100 kB / 0.5541 GB, free: 7.984 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.8807, allocations: 15.73 kB / 0.5541 GB, free: 7.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.8808, allocations: 0 / 0.5541 GB, free: 7.969 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.8809, allocations: 322.8 kB / 0.5544 GB, free: 7.645 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.8809, allocations: 11.94 kB / 0.5544 GB, free: 7.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.8809, allocations: 15.98 kB / 0.5544 GB, free: 7.617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.188e-05/0.881, allocations: 8 kB / 0.5544 GB, free: 7.609 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.881, allocations: 0 / 0.5544 GB, free: 7.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001113/0.8811, allocations: 69.44 kB / 0.5545 GB, free: 7.535 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.8811, allocations: 4 kB / 0.5545 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.8811, allocations: 0 / 0.5545 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.8811, allocations: 0 / 0.5545 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.8812, allocations: 16 kB / 0.5545 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.8812, allocations: 4 kB / 0.5545 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.8813, allocations: 7.984 kB / 0.5545 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.8813, allocations: 0 / 0.5545 GB, free: 7.504 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 8.395e-05/0.8814, allocations: 105.1 kB / 0.5546 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.8814, allocations: 11.81 kB / 0.5546 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.8816, allocations: 78.95 kB / 0.5547 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8816, allocations: 4 kB / 0.5547 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.8816, allocations: 4.062 kB / 0.5547 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.8816, allocations: 4.078 kB / 0.5547 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.8821, allocations: 327 kB / 0.555 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8821, allocations: 0 / 0.555 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.959e-05/0.8822, allocations: 15.98 kB / 0.5551 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.8822, allocations: 4 kB / 0.5551 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.8822, allocations: 4 kB / 0.5551 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.8822, allocations: 3.984 kB / 0.5551 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8822, allocations: 0 / 0.5551 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001485/0.8824, allocations: 159.3 kB / 0.5552 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002317/0.8826, allocations: 0.531 MB / 0.5557 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.8827, allocations: 104.9 kB / 0.5558 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.8827, allocations: 0 / 0.5558 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.8828, allocations: 8 kB / 0.5558 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.8829, allocations: 3.984 kB / 0.5559 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.8829, allocations: 4 kB / 0.5559 GB, free: 6.043 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001234/0.883, allocations: 151.2 kB / 0.556 GB, free: 5.895 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008895/0.8839, allocations: 24 kB / 0.556 GB, free: 5.871 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.0006562/0.8846, allocations: 305.8 kB / 0.5563 GB, free: 5.609 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.8847, allocations: 28 kB / 0.5563 GB, free: 5.582 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8847, allocations: 0 / 0.5563 GB, free: 5.582 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.954e-05/0.8847, allocations: 15.98 kB / 0.5564 GB, free: 5.566 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.885, allocations: 19.77 kB / 0.5564 GB, free: 5.547 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.8854, allocations: 171.6 kB / 0.5565 GB, free: 5.352 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.8858, allocations: 0.7264 MB / 0.5572 GB, free: 4.602 MB / 394.7 MB Notification: Performance of SimCode: time 4.2e-07/0.8858, allocations: 0 / 0.5572 GB, free: 4.602 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1)