Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_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.0009841/0.0009841, allocations: 194.3 kB / 7.806 MB, free: 2.496 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.084/1.084, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0009058/0.0009057, allocations: 96.19 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.1641/0.1641, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.167/0.3311, allocations: 64.98 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.5664, allocations: 58.84 MB / 476.7 MB, free: 5.156 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.6748, allocations: 86.89 MB / 0.5503 GB, free: 12.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001743/0.675, allocations: 79.45 kB / 0.5504 GB, free: 11.93 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.0149/0.6899, allocations: 5.375 MB / 0.5557 GB, free: 6.516 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.69, allocations: 8 kB / 0.5557 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.599e-05/0.69, allocations: 7.906 kB / 0.5557 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.6904, allocations: 221.6 kB / 0.5559 GB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.6904, allocations: 4 kB / 0.5559 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.6904, allocations: 0 / 0.5559 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.72e-05/0.6905, allocations: 19.98 kB / 0.5559 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.62e-05/0.6906, allocations: 53.61 kB / 0.556 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.6906, allocations: 3.906 kB / 0.556 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.6907, allocations: 0 / 0.556 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.6907, allocations: 3.938 kB / 0.556 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.6911, allocations: 269.5 kB / 0.5562 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.6912, allocations: 54.59 kB / 0.5563 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.6913, allocations: 20.98 kB / 0.5563 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.6913, allocations: 0 / 0.5563 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.333e-05/0.6914, allocations: 63.34 kB / 0.5564 GB, free: 5.695 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.6914, allocations: 4 kB / 0.5564 GB, free: 5.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004441/0.6918, allocations: 129.2 kB / 0.5565 GB, free: 5.559 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.6919, allocations: 55.39 kB / 0.5565 GB, free: 5.492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.6921, allocations: 162.3 kB / 0.5567 GB, free: 5.328 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.6921, allocations: 33.64 kB / 0.5567 GB, free: 5.289 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.6921, allocations: 88.12 kB / 0.5568 GB, free: 5.199 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.6922, allocations: 19.72 kB / 0.5568 GB, free: 5.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.6922, allocations: 0 / 0.5568 GB, free: 5.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.6923, allocations: 330.8 kB / 0.5571 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.625e-05/0.6924, allocations: 15.94 kB / 0.5572 GB, free: 4.832 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.75e-05/0.6924, allocations: 33.7 kB / 0.5572 GB, free: 4.793 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.6925, allocations: 20 kB / 0.5572 GB, free: 4.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6925, allocations: 3.906 kB / 0.5572 GB, free: 4.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001503/0.6926, allocations: 89.58 kB / 0.5573 GB, free: 4.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6927, allocations: 6.812 kB / 0.5573 GB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6927, allocations: 0 / 0.5573 GB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.6927, allocations: 11.97 kB / 0.5573 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.6928, allocations: 16 kB / 0.5573 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.6928, allocations: 0 / 0.5573 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.526e-05/0.6929, allocations: 11.89 kB / 0.5573 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.6929, allocations: 0 / 0.5573 GB, free: 4.633 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.668e-05/0.6929, allocations: 106.4 kB / 0.5574 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.693, allocations: 7.906 kB / 0.5575 GB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.6932, allocations: 110.1 kB / 0.5576 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.6932, allocations: 8 kB / 0.5576 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6932, allocations: 480 / 0.5576 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.6932, allocations: 4 kB / 0.5576 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.6936, allocations: 367.8 kB / 0.5579 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.6936, allocations: 3.938 kB / 0.5579 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.6937, allocations: 11.98 kB / 0.5579 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.6937, allocations: 4 kB / 0.5579 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.6937, allocations: 0 / 0.5579 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6937, allocations: 4.031 kB / 0.5579 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6937, allocations: 0 / 0.5579 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001827/0.6939, allocations: 209.9 kB / 0.5581 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002975/0.6942, allocations: 0.5764 MB / 0.5587 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.6943, allocations: 96.92 kB / 0.5588 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.6943, allocations: 3.984 kB / 0.5588 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.252e-05/0.6944, allocations: 4 kB / 0.5588 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.6944, allocations: 3.984 kB / 0.5588 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.6945, allocations: 7.938 kB / 0.5588 GB, free: 2.992 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001068/0.6946, allocations: 144.1 kB / 0.559 GB, free: 2.852 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008303/0.6954, allocations: 39.92 kB / 0.559 GB, free: 2.812 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.000682/0.6961, allocations: 349.8 kB / 0.5593 GB, free: 2.512 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.6962, allocations: 55.94 kB / 0.5594 GB, free: 2.457 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6962, allocations: 0 / 0.5594 GB, free: 2.457 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.258e-05/0.6963, allocations: 31.98 kB / 0.5594 GB, free: 2.426 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.6966, allocations: 19.84 kB / 0.5594 GB, free: 2.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.6969, allocations: 160.5 kB / 0.5596 GB, free: 2.215 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.6973, allocations: 0.7349 MB / 0.5603 GB, free: 1.453 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6973, allocations: 0 / 0.5603 GB, free: 1.453 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1)