Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",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.001231/0.00123, allocations: 186.6 kB / 7.802 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.18/1.18, 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.0008935/0.0008934, allocations: 90.27 kB / 261.4 MB, free: 13.53 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.1605/0.1605, allocations: 43.49 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1789/0.3394, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.5779, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.6868, allocations: 86.84 MB / 0.5503 GB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.6871, allocations: 79.45 kB / 0.5504 GB, free: 12 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01448/0.7016, allocations: 5.183 MB / 0.5554 GB, free: 6.777 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.7016, allocations: 8 kB / 0.5554 GB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.7017, allocations: 7.906 kB / 0.5554 GB, free: 6.762 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.7019, allocations: 207.4 kB / 0.5556 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.702, allocations: 3.906 kB / 0.5556 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.702, allocations: 4 kB / 0.5557 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.084e-05/0.7021, allocations: 16 kB / 0.5557 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.068e-05/0.7022, allocations: 53.61 kB / 0.5557 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.7022, allocations: 4 kB / 0.5557 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.7022, allocations: 4 kB / 0.5557 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.7022, allocations: 0 / 0.5557 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.7025, allocations: 265.4 kB / 0.556 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.7026, allocations: 50.67 kB / 0.556 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.7027, allocations: 20.98 kB / 0.556 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.7027, allocations: 4 kB / 0.556 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.128e-05/0.7028, allocations: 63.33 kB / 0.5561 GB, free: 5.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.7028, allocations: 0 / 0.5561 GB, free: 5.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004193/0.7032, allocations: 129.3 kB / 0.5562 GB, free: 5.836 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.7033, allocations: 55.41 kB / 0.5563 GB, free: 5.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.7034, allocations: 139.5 kB / 0.5564 GB, free: 5.621 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.7034, allocations: 37.64 kB / 0.5565 GB, free: 5.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.7035, allocations: 92.06 kB / 0.5565 GB, free: 5.484 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.7035, allocations: 23.7 kB / 0.5566 GB, free: 5.461 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/0.7035, allocations: 0 / 0.5566 GB, free: 5.461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.7036, allocations: 322.8 kB / 0.5569 GB, free: 5.137 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.424e-05/0.7037, allocations: 19.94 kB / 0.5569 GB, free: 5.117 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.252e-05/0.7037, allocations: 29.72 kB / 0.5569 GB, free: 5.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.7038, allocations: 23.98 kB / 0.5569 GB, free: 5.059 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.7038, allocations: 4 kB / 0.5569 GB, free: 5.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001379/0.7039, allocations: 93.48 kB / 0.557 GB, free: 4.957 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.7039, allocations: 4.188 kB / 0.557 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.704, allocations: 3.938 kB / 0.557 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.704, allocations: 7.938 kB / 0.5571 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.668e-05/0.7041, allocations: 15.98 kB / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.7041, allocations: 0 / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.7041, allocations: 4.188 kB / 0.5571 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.7042, allocations: 4 kB / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.858e-05/0.7042, allocations: 114.3 kB / 0.5572 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.7043, allocations: 11.91 kB / 0.5572 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.7045, allocations: 102.1 kB / 0.5573 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7045, allocations: 0 / 0.5573 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7045, allocations: 0 / 0.5573 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.7045, allocations: 0 / 0.5573 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.7048, allocations: 363.8 kB / 0.5576 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7048, allocations: 4 kB / 0.5576 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.7049, allocations: 11.98 kB / 0.5577 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.7049, allocations: 3.906 kB / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.7049, allocations: 0 / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.7049, allocations: 4 kB / 0.5577 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7049, allocations: 0 / 0.5577 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000163/0.7051, allocations: 205.9 kB / 0.5579 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002473/0.7053, allocations: 0.5764 MB / 0.5584 GB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.7054, allocations: 85.02 kB / 0.5585 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.7054, allocations: 7.984 kB / 0.5585 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.7055, allocations: 4 kB / 0.5585 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.7056, allocations: 8 kB / 0.5585 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.7056, allocations: 12.2 kB / 0.5585 GB, free: 3.285 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.866e-05/0.7057, allocations: 120.5 kB / 0.5586 GB, free: 3.168 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008158/0.7065, allocations: 39.84 kB / 0.5587 GB, free: 3.129 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006436/0.7071, allocations: 357.8 kB / 0.559 GB, free: 2.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.7073, allocations: 51.92 kB / 0.5591 GB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.7073, allocations: 0 / 0.5591 GB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.041e-05/0.7073, allocations: 28 kB / 0.5591 GB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.7076, allocations: 23.84 kB / 0.5591 GB, free: 2.711 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.7079, allocations: 144.7 kB / 0.5593 GB, free: 2.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.7082, allocations: 0.7227 MB / 0.56 GB, free: 1.797 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7082, allocations: 0 / 0.56 GB, free: 1.797 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)