Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30",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.001115/0.001115, allocations: 186.8 kB / 7.806 MB, free: 2.488 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.389/1.389, 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.0008846/0.0008843, allocations: 86.86 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.1878/0.1878, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2112/0.3991, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.6616, allocations: 58.84 MB / 476.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.7719, allocations: 85.56 MB / 0.549 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.7721, allocations: 71.97 kB / 0.5491 GB, free: 13.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.009976/0.7821, allocations: 3.942 MB / 0.553 GB, free: 9.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.7822, allocations: 8 kB / 0.553 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.7822, allocations: 7.906 kB / 0.553 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.7825, allocations: 201.6 kB / 0.5532 GB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.7825, allocations: 0 / 0.5532 GB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.7825, allocations: 4 kB / 0.5532 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.549e-05/0.7826, allocations: 11.98 kB / 0.5532 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.88e-05/0.7827, allocations: 37.7 kB / 0.5532 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.7827, allocations: 4 kB / 0.5532 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.7827, allocations: 0 / 0.5532 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.7827, allocations: 4 kB / 0.5532 GB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.783, allocations: 265.4 kB / 0.5535 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.7832, allocations: 25.72 kB / 0.5535 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.7832, allocations: 12.86 kB / 0.5535 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.7832, allocations: 4 kB / 0.5535 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.7833, allocations: 34.5 kB / 0.5536 GB, free: 8.688 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.7833, allocations: 0 / 0.5536 GB, free: 8.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003633/0.7836, allocations: 113.3 kB / 0.5537 GB, free: 8.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.7837, allocations: 51.41 kB / 0.5537 GB, free: 8.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.7838, allocations: 181.3 kB / 0.5539 GB, free: 8.324 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.7839, allocations: 25.7 kB / 0.5539 GB, free: 8.293 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.7839, allocations: 92.12 kB / 0.554 GB, free: 8.199 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.7839, allocations: 15.73 kB / 0.554 GB, free: 8.184 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.7839, allocations: 0 / 0.554 GB, free: 8.184 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.7841, allocations: 322.8 kB / 0.5543 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.371e-05/0.7841, allocations: 12 kB / 0.5543 GB, free: 7.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.7841, allocations: 11.98 kB / 0.5543 GB, free: 7.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.377e-05/0.7842, allocations: 8 kB / 0.5543 GB, free: 7.828 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.7842, allocations: 4 kB / 0.5544 GB, free: 7.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.456e-05/0.7843, allocations: 65.44 kB / 0.5544 GB, free: 7.754 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.7843, allocations: 4 kB / 0.5544 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7843, allocations: 0 / 0.5544 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.7843, allocations: 4.141 kB / 0.5544 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.7844, allocations: 12 kB / 0.5544 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.7844, allocations: 0 / 0.5544 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.7845, allocations: 12.23 kB / 0.5544 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.7845, allocations: 7.984 kB / 0.5545 GB, free: 7.715 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 5.98e-05/0.7846, allocations: 110.5 kB / 0.5546 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.7846, allocations: 11.81 kB / 0.5546 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.7847, allocations: 65.86 kB / 0.5546 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.7847, allocations: 7.938 kB / 0.5546 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.7847, allocations: 0 / 0.5546 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7848, allocations: 0 / 0.5546 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.785, allocations: 323 kB / 0.5549 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7851, allocations: 4 kB / 0.555 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.7851, allocations: 8 kB / 0.555 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7851, allocations: 4 kB / 0.555 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.7851, allocations: 3.984 kB / 0.555 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7852, allocations: 0 / 0.555 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7852, allocations: 0 / 0.555 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001189/0.7853, allocations: 163.3 kB / 0.5551 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002188/0.7855, allocations: 0.531 MB / 0.5556 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.7856, allocations: 93.02 kB / 0.5557 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.7856, allocations: 0 / 0.5557 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.7857, allocations: 12.23 kB / 0.5557 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.7857, allocations: 7.906 kB / 0.5557 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.7857, allocations: 4 kB / 0.5558 GB, free: 6.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001093/0.7858, allocations: 152 kB / 0.5559 GB, free: 6.121 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008003/0.7867, allocations: 31.92 kB / 0.5559 GB, free: 6.09 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.0005416/0.7872, allocations: 298.3 kB / 0.5562 GB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.937e-05/0.7873, allocations: 27.98 kB / 0.5562 GB, free: 5.801 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7873, allocations: 0 / 0.5562 GB, free: 5.801 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.513e-05/0.7873, allocations: 16 kB / 0.5563 GB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.7875, allocations: 11.86 kB / 0.5563 GB, free: 5.773 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.7879, allocations: 151.8 kB / 0.5564 GB, free: 5.594 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.7882, allocations: 0.734 MB / 0.5571 GB, free: 4.836 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.7882, allocations: 4 kB / 0.5571 GB, free: 4.832 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1)