Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7",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.001492/0.001492, allocations: 182.3 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.69/1.69, 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.0009891/0.000989, allocations: 90.34 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.1951/0.1951, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.218/0.4132, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.8012, allocations: 58.84 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.9709, allocations: 85.52 MB / 0.549 GB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.9712, allocations: 75.45 kB / 0.5491 GB, free: 13.32 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.01457/0.9858, allocations: 3.578 MB / 0.5526 GB, free: 9.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.9859, allocations: 8 kB / 0.5526 GB, free: 9.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.9859, allocations: 11.81 kB / 0.5526 GB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.9863, allocations: 187 kB / 0.5528 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.9863, allocations: 0 / 0.5528 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.9864, allocations: 4 kB / 0.5528 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.699e-05/0.9865, allocations: 15.98 kB / 0.5528 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.9866, allocations: 37.69 kB / 0.5528 GB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.9866, allocations: 4 kB / 0.5528 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.9866, allocations: 4 kB / 0.5528 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.9866, allocations: 0 / 0.5528 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.9871, allocations: 253.4 kB / 0.5531 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.9873, allocations: 29.72 kB / 0.5531 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.9874, allocations: 8.859 kB / 0.5531 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.9874, allocations: 11.97 kB / 0.5531 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.9875, allocations: 38.56 kB / 0.5531 GB, free: 9.004 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.9875, allocations: 0 / 0.5531 GB, free: 9.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005563/0.988, allocations: 97.27 kB / 0.5532 GB, free: 8.902 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.9881, allocations: 51.41 kB / 0.5533 GB, free: 8.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.9883, allocations: 141.2 kB / 0.5534 GB, free: 8.691 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.9884, allocations: 29.7 kB / 0.5535 GB, free: 8.656 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.9884, allocations: 84.14 kB / 0.5535 GB, free: 8.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.9885, allocations: 15.75 kB / 0.5535 GB, free: 8.555 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.9885, allocations: 0 / 0.5535 GB, free: 8.555 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.9887, allocations: 326.7 kB / 0.5539 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.753e-05/0.9887, allocations: 8 kB / 0.5539 GB, free: 8.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.686e-05/0.9888, allocations: 7.938 kB / 0.5539 GB, free: 8.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.548e-05/0.9888, allocations: 15.98 kB / 0.5539 GB, free: 8.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.9889, allocations: 0 / 0.5539 GB, free: 8.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001431/0.989, allocations: 57.61 kB / 0.5539 GB, free: 8.133 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.989, allocations: 11.94 kB / 0.554 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.9891, allocations: 256 / 0.554 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.9891, allocations: 0 / 0.554 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.9892, allocations: 19.98 kB / 0.554 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.9892, allocations: 0 / 0.554 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.9893, allocations: 11.92 kB / 0.554 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.9893, allocations: 8 kB / 0.554 GB, free: 8.082 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 9.083e-05/0.9894, allocations: 102.4 kB / 0.5541 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/0.9895, allocations: 11.81 kB / 0.5541 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.9897, allocations: 65.88 kB / 0.5542 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.9898, allocations: 0 / 0.5542 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.9898, allocations: 0 / 0.5542 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.9898, allocations: 3.984 kB / 0.5542 GB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.9902, allocations: 307 kB / 0.5545 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9903, allocations: 0 / 0.5545 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.809e-05/0.9904, allocations: 15.98 kB / 0.5545 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.9904, allocations: 0 / 0.5545 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.9904, allocations: 0 / 0.5545 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.9904, allocations: 0 / 0.5545 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.9904, allocations: 3.984 kB / 0.5545 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001899/0.9906, allocations: 163.5 kB / 0.5546 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003338/0.991, allocations: 0.5312 MB / 0.5552 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.9911, allocations: 89 kB / 0.5552 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.9911, allocations: 4.062 kB / 0.5552 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.9912, allocations: 8 kB / 0.5553 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.9913, allocations: 7.984 kB / 0.5553 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.9913, allocations: 0 / 0.5553 GB, free: 6.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001176/0.9914, allocations: 122.6 kB / 0.5554 GB, free: 6.555 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001501/0.993, allocations: 16 kB / 0.5554 GB, free: 6.539 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.0009441/0.9939, allocations: 309.9 kB / 0.5557 GB, free: 6.266 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.9941, allocations: 24 kB / 0.5557 GB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9941, allocations: 4 kB / 0.5557 GB, free: 6.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.47e-05/0.9941, allocations: 12 kB / 0.5557 GB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.9945, allocations: 19.84 kB / 0.5557 GB, free: 6.207 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.995, allocations: 107.6 kB / 0.5558 GB, free: 6.078 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004244/0.9954, allocations: 0.7185 MB / 0.5565 GB, free: 5.336 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.9955, allocations: 0 / 0.5565 GB, free: 5.336 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1)