Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",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.001011/0.001011, allocations: 187.5 kB / 7.801 MB, free: 2.449 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.101/1.101, allocations: 205.2 MB / 213.4 MB, free: 13.97 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.000934/0.0009339, allocations: 86.27 kB / 261.4 MB, free: 13.62 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.1687/0.1687, allocations: 43.49 MB / 352.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1688/0.3375, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.5626, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.6753, allocations: 88.62 MB / 0.552 GB, free: 10.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.6755, allocations: 71.97 kB / 0.5521 GB, free: 10.23 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.01448/0.69, allocations: 5.036 MB / 0.557 GB, free: 5.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.6901, allocations: 8 kB / 0.557 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.6902, allocations: 27.72 kB / 0.5571 GB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.6906, allocations: 243.6 kB / 0.5573 GB, free: 4.824 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.6906, allocations: 4 kB / 0.5573 GB, free: 4.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.6906, allocations: 8.203 kB / 0.5573 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001399/0.6908, allocations: 48 kB / 0.5573 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.691, allocations: 120 kB / 0.5575 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.691, allocations: 3.984 kB / 0.5575 GB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.691, allocations: 4 kB / 0.5575 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.691, allocations: 4 kB / 0.5575 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000833/0.6919, allocations: 0.5677 MB / 0.558 GB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.6922, allocations: 90.69 kB / 0.5581 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.6923, allocations: 48.78 kB / 0.5582 GB, free: 3.859 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.6923, allocations: 0 / 0.5582 GB, free: 3.859 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.6924, allocations: 91.38 kB / 0.5582 GB, free: 3.758 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.492e-06/0.6924, allocations: 4 kB / 0.5582 GB, free: 3.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002667/0.6927, allocations: 121.5 kB / 0.5584 GB, free: 3.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.6928, allocations: 59.34 kB / 0.5584 GB, free: 3.559 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.693, allocations: 190.1 kB / 0.5586 GB, free: 3.367 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.693, allocations: 29.7 kB / 0.5586 GB, free: 3.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.6931, allocations: 104.4 kB / 0.5587 GB, free: 3.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.6931, allocations: 35.55 kB / 0.5588 GB, free: 3.188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-06/0.6931, allocations: 0 / 0.5588 GB, free: 3.188 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.6932, allocations: 342.7 kB / 0.5591 GB, free: 2.844 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-05/0.6933, allocations: 32 kB / 0.5591 GB, free: 2.812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-05/0.6934, allocations: 71.55 kB / 0.5592 GB, free: 2.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.089e-05/0.6935, allocations: 40.67 kB / 0.5592 GB, free: 2.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6935, allocations: 7.938 kB / 0.5592 GB, free: 2.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002574/0.6938, allocations: 143.3 kB / 0.5594 GB, free: 2.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.6938, allocations: 7.984 kB / 0.5594 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.6938, allocations: 7.906 kB / 0.5594 GB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.6939, allocations: 0 / 0.5594 GB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.6941, allocations: 48.09 kB / 0.5594 GB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.6941, allocations: 11.92 kB / 0.5594 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.6944, allocations: 35.88 kB / 0.5595 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.6944, allocations: 4 kB / 0.5595 GB, free: 2.426 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.149e-05/0.6945, allocations: 114.4 kB / 0.5596 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.6945, allocations: 15.81 kB / 0.5596 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.6948, allocations: 139 kB / 0.5597 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6948, allocations: 0 / 0.5597 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6948, allocations: 7.891 kB / 0.5597 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6948, allocations: 4 kB / 0.5597 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.695, allocations: 206.1 kB / 0.5599 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.695, allocations: 0 / 0.5599 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.6952, allocations: 35.97 kB / 0.56 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6952, allocations: 7.906 kB / 0.56 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.6953, allocations: 7.984 kB / 0.56 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.6953, allocations: 0 / 0.56 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6953, allocations: 3.938 kB / 0.56 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003597/0.6956, allocations: 209 kB / 0.5602 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004964/0.6961, allocations: 0.6226 MB / 0.5608 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.309e-05/0.6962, allocations: 104.8 kB / 0.5609 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.6963, allocations: 0 / 0.5609 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.6965, allocations: 32.03 kB / 0.5609 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.6966, allocations: 23.91 kB / 0.561 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.6966, allocations: 4 kB / 0.561 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001296/0.6967, allocations: 155.2 kB / 0.5611 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008333/0.6976, allocations: 52.08 kB / 0.5612 GB, free: 0.5977 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007117/0.6983, allocations: 316.4 kB / 0.5615 GB, free: 324 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.6985, allocations: 121.6 kB / 0.5616 GB, free: 196 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6986, allocations: 0 / 0.5616 GB, free: 196 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.63e-05/0.6987, allocations: 51.94 kB / 0.5616 GB, free: 144 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.699, allocations: 35.91 kB / 0.5617 GB, free: 108 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006185/0.6996, allocations: 224.5 kB / 0.5619 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/0.7, allocations: 0.7588 MB / 0.5626 GB, free: 15.07 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.7, allocations: 0 / 0.5626 GB, free: 15.07 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)