Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",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.001227/0.001227, allocations: 186.3 kB / 7.804 MB, free: 2.438 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.282/1.282, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.001031/0.001031, allocations: 87.86 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.1988/0.1988, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2003/0.3992, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.7088, allocations: 58.83 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.852, allocations: 86.4 MB / 0.5499 GB, free: 12.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.8523, allocations: 67.95 kB / 0.5499 GB, free: 12.42 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.01159/0.8639, allocations: 4.244 MB / 0.5541 GB, free: 8.129 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.864, allocations: 8 kB / 0.5541 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.864, allocations: 7.906 kB / 0.5541 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.8643, allocations: 199.5 kB / 0.5543 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.8643, allocations: 3.906 kB / 0.5543 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.8644, allocations: 4 kB / 0.5543 GB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.568e-05/0.8645, allocations: 20 kB / 0.5543 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.864e-05/0.8646, allocations: 57.59 kB / 0.5544 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.8646, allocations: 4 kB / 0.5544 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.8646, allocations: 0 / 0.5544 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.8646, allocations: 0 / 0.5544 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.8651, allocations: 289.3 kB / 0.5546 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.149e-05/0.8652, allocations: 34.58 kB / 0.5547 GB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.8652, allocations: 16.95 kB / 0.5547 GB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.8653, allocations: 3.984 kB / 0.5547 GB, free: 7.395 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.8653, allocations: 38.5 kB / 0.5547 GB, free: 7.348 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.8653, allocations: 3.938 kB / 0.5547 GB, free: 7.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005245/0.8658, allocations: 153.2 kB / 0.5549 GB, free: 7.188 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.8659, allocations: 51.41 kB / 0.5549 GB, free: 7.125 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.866, allocations: 165.4 kB / 0.5551 GB, free: 6.953 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.8661, allocations: 29.7 kB / 0.5551 GB, free: 6.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.8662, allocations: 92.12 kB / 0.5552 GB, free: 6.824 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.8662, allocations: 19.66 kB / 0.5552 GB, free: 6.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.8662, allocations: 0 / 0.5552 GB, free: 6.805 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.8664, allocations: 322.8 kB / 0.5555 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.862e-05/0.8665, allocations: 24.06 kB / 0.5555 GB, free: 6.457 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.448e-05/0.8665, allocations: 27.92 kB / 0.5556 GB, free: 6.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.212e-05/0.8666, allocations: 23.98 kB / 0.5556 GB, free: 6.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.8666, allocations: 4 kB / 0.5556 GB, free: 6.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001565/0.8668, allocations: 85.48 kB / 0.5557 GB, free: 6.312 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.8668, allocations: 6.812 kB / 0.5557 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.8668, allocations: 4 kB / 0.5557 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.8668, allocations: 0 / 0.5557 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.867, allocations: 23.98 kB / 0.5557 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.867, allocations: 4 kB / 0.5557 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.37e-05/0.8671, allocations: 11.98 kB / 0.5557 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.8671, allocations: 8 kB / 0.5557 GB, free: 6.258 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 (7): * Single equations (assignments): 7 * 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.337e-05/0.8672, allocations: 106.3 kB / 0.5558 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.8672, allocations: 15.81 kB / 0.5559 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.8675, allocations: 106.1 kB / 0.556 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8675, allocations: 0 / 0.556 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.8675, allocations: 0 / 0.556 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8675, allocations: 0 / 0.556 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.8679, allocations: 363.3 kB / 0.5563 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.8679, allocations: 0 / 0.5563 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.868, allocations: 31.97 kB / 0.5563 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.868, allocations: 0 / 0.5563 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.868, allocations: 0 / 0.5563 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.868, allocations: 0 / 0.5563 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.868, allocations: 0 / 0.5563 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000188/0.8682, allocations: 187.3 kB / 0.5565 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003391/0.8686, allocations: 0.5621 MB / 0.5571 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.8687, allocations: 93.02 kB / 0.5571 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.8687, allocations: 144 / 0.5571 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.8688, allocations: 11.98 kB / 0.5572 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.8689, allocations: 15.97 kB / 0.5572 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.8689, allocations: 4 kB / 0.5572 GB, free: 4.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001195/0.869, allocations: 131.2 kB / 0.5573 GB, free: 4.543 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008753/0.8699, allocations: 24 kB / 0.5573 GB, free: 4.52 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 (7): * Single equations (assignments): 7 * 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.0007705/0.8707, allocations: 294.3 kB / 0.5576 GB, free: 4.262 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.8708, allocations: 59.91 kB / 0.5577 GB, free: 4.203 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.8708, allocations: 4 kB / 0.5577 GB, free: 4.199 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.241e-05/0.8709, allocations: 28 kB / 0.5577 GB, free: 4.172 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.8711, allocations: 17.23 kB / 0.5577 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.8716, allocations: 163.1 kB / 0.5579 GB, free: 3.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/0.872, allocations: 0.727 MB / 0.5586 GB, free: 3.227 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.872, allocations: 0 / 0.5586 GB, free: 3.227 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1)