Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",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.001408/0.001408, allocations: 190.7 kB / 7.802 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.112/1.112, 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.0008484/0.0008484, allocations: 94.98 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.1613/0.1613, allocations: 43.49 MB / 352.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1588/0.3202, allocations: 64.97 MB / 417.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.5641, allocations: 58.84 MB / 476.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.6768, allocations: 86.85 MB / 0.5503 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001717/0.677, allocations: 75.95 kB / 0.5504 GB, free: 11.97 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.01392/0.6909, allocations: 5.23 MB / 0.5555 GB, free: 6.699 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.6909, allocations: 11.98 kB / 0.5555 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.691, allocations: 7.906 kB / 0.5555 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.6912, allocations: 210.7 kB / 0.5557 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.6913, allocations: 11.98 kB / 0.5557 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.6913, allocations: 0 / 0.5557 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.94e-05/0.6914, allocations: 16 kB / 0.5557 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.159e-05/0.6915, allocations: 53.61 kB / 0.5558 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.6915, allocations: 0 / 0.5558 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.6915, allocations: 0 / 0.5558 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6915, allocations: 0 / 0.5558 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.6919, allocations: 273.3 kB / 0.556 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.692, allocations: 54.69 kB / 0.5561 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.6921, allocations: 16.98 kB / 0.5561 GB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.6921, allocations: 0 / 0.5561 GB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.034e-05/0.6922, allocations: 71.23 kB / 0.5562 GB, free: 5.879 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 4.328e-06/0.6922, allocations: 0 / 0.5562 GB, free: 5.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004123/0.6926, allocations: 125.3 kB / 0.5563 GB, free: 5.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.6927, allocations: 59.41 kB / 0.5564 GB, free: 5.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.6928, allocations: 157.3 kB / 0.5565 GB, free: 5.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.6928, allocations: 25.7 kB / 0.5565 GB, free: 5.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.6929, allocations: 88.14 kB / 0.5566 GB, free: 5.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.6929, allocations: 23.64 kB / 0.5566 GB, free: 5.375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.6929, allocations: 3.938 kB / 0.5566 GB, free: 5.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6931, allocations: 322.8 kB / 0.5569 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.923e-05/0.6931, allocations: 16 kB / 0.557 GB, free: 5.031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.634e-05/0.6932, allocations: 33.72 kB / 0.557 GB, free: 4.992 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.966e-05/0.6932, allocations: 23.98 kB / 0.557 GB, free: 4.969 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.6932, allocations: 0 / 0.557 GB, free: 4.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000142/0.6934, allocations: 93.52 kB / 0.5571 GB, free: 4.871 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.6934, allocations: 11.91 kB / 0.5571 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6934, allocations: 0 / 0.5571 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.6934, allocations: 3.984 kB / 0.5571 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.304e-05/0.6935, allocations: 12 kB / 0.5571 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.6935, allocations: 8.188 kB / 0.5571 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.6936, allocations: 0 / 0.5571 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.6936, allocations: 4.188 kB / 0.5571 GB, free: 4.832 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 8.328e-05/0.6937, allocations: 110.4 kB / 0.5573 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.6937, allocations: 15.75 kB / 0.5573 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.6939, allocations: 102.1 kB / 0.5574 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.6939, allocations: 0 / 0.5574 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.694, allocations: 0 / 0.5574 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.694, allocations: 7.984 kB / 0.5574 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.6943, allocations: 368 kB / 0.5577 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6943, allocations: 4 kB / 0.5577 GB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.6944, allocations: 8 kB / 0.5577 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6944, allocations: 0 / 0.5577 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.6944, allocations: 4 kB / 0.5577 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6944, allocations: 0 / 0.5577 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6944, allocations: 3.938 kB / 0.5577 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001747/0.6946, allocations: 206 kB / 0.5579 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000302/0.6949, allocations: 0.5764 MB / 0.5585 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.788e-05/0.695, allocations: 96.91 kB / 0.5586 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.695, allocations: 3.938 kB / 0.5586 GB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.974e-05/0.6951, allocations: 4 kB / 0.5586 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.6952, allocations: 7.984 kB / 0.5586 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.6952, allocations: 4 kB / 0.5586 GB, free: 3.199 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.981e-05/0.6953, allocations: 128.1 kB / 0.5587 GB, free: 3.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008232/0.6961, allocations: 35.84 kB / 0.5588 GB, free: 3.039 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.0007539/0.6969, allocations: 353.6 kB / 0.5591 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.697, allocations: 51.92 kB / 0.5592 GB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.697, allocations: 0 / 0.5592 GB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.199e-05/0.6971, allocations: 32.06 kB / 0.5592 GB, free: 2.648 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.6974, allocations: 20.59 kB / 0.5592 GB, free: 2.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.6977, allocations: 152.5 kB / 0.5594 GB, free: 2.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.698, allocations: 0.7192 MB / 0.5601 GB, free: 1.699 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.698, allocations: 0 / 0.5601 GB, free: 1.699 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1)