Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",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.001189/0.001189, allocations: 190.3 kB / 7.8 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.202/1.202, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0008565/0.0008565, allocations: 97.5 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.1757/0.1757, allocations: 43.49 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1718/0.3476, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.5765, allocations: 58.84 MB / 476.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.6816, allocations: 87 MB / 0.5504 GB, free: 11.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.6818, allocations: 83.39 kB / 0.5505 GB, free: 11.82 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.02075/0.7026, allocations: 7.554 MB / 0.5579 GB, free: 4.223 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.7026, allocations: 8 kB / 0.5579 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.7027, allocations: 23.72 kB / 0.5579 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.7031, allocations: 274.1 kB / 0.5582 GB, free: 3.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.7032, allocations: 0 / 0.5582 GB, free: 3.879 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.7032, allocations: 11.84 kB / 0.5582 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001059/0.7033, allocations: 35.98 kB / 0.5582 GB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.7035, allocations: 91.36 kB / 0.5583 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.7035, allocations: 4 kB / 0.5583 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.7035, allocations: 0 / 0.5583 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.7035, allocations: 0 / 0.5583 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.7041, allocations: 437.5 kB / 0.5587 GB, free: 3.258 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.7042, allocations: 97.5 kB / 0.5588 GB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.7043, allocations: 37.84 kB / 0.5589 GB, free: 3.102 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.7043, allocations: 3.938 kB / 0.5589 GB, free: 3.098 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.7045, allocations: 108.9 kB / 0.559 GB, free: 2.973 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.755e-06/0.7045, allocations: 3.984 kB / 0.559 GB, free: 2.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006248/0.7051, allocations: 272.2 kB / 0.5592 GB, free: 2.695 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.7051, allocations: 77.11 kB / 0.5593 GB, free: 2.602 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.7055, allocations: 315.3 kB / 0.5596 GB, free: 2.281 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.7055, allocations: 25.7 kB / 0.5596 GB, free: 2.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.7055, allocations: 104.4 kB / 0.5597 GB, free: 2.141 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.7056, allocations: 51.3 kB / 0.5598 GB, free: 2.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.7056, allocations: 0 / 0.5598 GB, free: 2.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.41e-05/0.7057, allocations: 342.8 kB / 0.5601 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/0.7058, allocations: 35.98 kB / 0.5602 GB, free: 1.711 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.7059, allocations: 66.64 kB / 0.5602 GB, free: 1.637 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.316e-05/0.7059, allocations: 39.97 kB / 0.5603 GB, free: 1.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7059, allocations: 4 kB / 0.5603 GB, free: 1.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000236/0.7062, allocations: 169.4 kB / 0.5604 GB, free: 1.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.7062, allocations: 4 kB / 0.5604 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7062, allocations: 0 / 0.5604 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.7062, allocations: 4 kB / 0.5604 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.7064, allocations: 32.3 kB / 0.5605 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.7064, allocations: 7.984 kB / 0.5605 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-05/0.7065, allocations: 8 kB / 0.5605 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.7065, allocations: 8 kB / 0.5605 GB, free: 1.359 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.734e-05/0.7066, allocations: 110.5 kB / 0.5606 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.7067, allocations: 27.62 kB / 0.5606 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.707, allocations: 187.2 kB / 0.5608 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.707, allocations: 4 kB / 0.5608 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.707, allocations: 0 / 0.5608 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.707, allocations: 0 / 0.5608 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006538/0.7077, allocations: 0.6052 MB / 0.5614 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7077, allocations: 0 / 0.5614 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-05/0.7078, allocations: 16 kB / 0.5614 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.7078, allocations: 7.984 kB / 0.5614 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.7078, allocations: 4 kB / 0.5614 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.7078, allocations: 0 / 0.5614 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7078, allocations: 3.938 kB / 0.5614 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003485/0.7082, allocations: 378.6 kB / 0.5618 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004266/0.7086, allocations: 0.7476 MB / 0.5625 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.7087, allocations: 112.8 kB / 0.5626 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.7088, allocations: 8 kB / 0.5626 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.7089, allocations: 15.89 kB / 0.5626 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.709, allocations: 15.92 kB / 0.5627 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.709, allocations: 4 kB / 0.5627 GB, free: 14.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002225/0.7092, allocations: 251.1 kB / 0.5629 GB, free: 14.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009097/0.7101, allocations: 55.92 kB / 0.563 GB, free: 14.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.0006689/0.7108, allocations: 349.1 kB / 0.5633 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.711, allocations: 107.9 kB / 0.5634 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.711, allocations: 0 / 0.5634 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.272e-05/0.7111, allocations: 60.41 kB / 0.5634 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.7115, allocations: 49.39 kB / 0.5635 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.7122, allocations: 342.8 kB / 0.5638 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/0.7126, allocations: 0.7858 MB / 0.5646 GB, free: 12.96 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7126, allocations: 7.938 kB / 0.5646 GB, free: 12.95 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1)