Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",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.0009831/0.0009832, allocations: 193 kB / 7.806 MB, free: 2.488 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.151/1.151, allocations: 205.2 MB / 213.4 MB, free: 13.89 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.0009039/0.000904, allocations: 94.2 kB / 261.4 MB, free: 13.6 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.1765/0.1765, allocations: 43.49 MB / 352.8 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1825/0.3591, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.6169, allocations: 58.84 MB / 476.7 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.7341, allocations: 86.88 MB / 0.5503 GB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.7344, 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.0147/0.7491, allocations: 5.686 MB / 0.556 GB, free: 6.273 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.7491, allocations: 12 kB / 0.556 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.7492, allocations: 15.81 kB / 0.556 GB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.7495, allocations: 226.8 kB / 0.5562 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.7495, allocations: 0 / 0.5562 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.7495, allocations: 7.906 kB / 0.5562 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.229e-05/0.7496, allocations: 19.98 kB / 0.5562 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.285e-05/0.7497, allocations: 53.67 kB / 0.5563 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.7497, allocations: 3.938 kB / 0.5563 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.7497, allocations: 11.94 kB / 0.5563 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.7498, allocations: 0 / 0.5563 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.7501, allocations: 281.3 kB / 0.5566 GB, free: 5.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.741e-05/0.7502, allocations: 50.69 kB / 0.5566 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.7503, allocations: 20.98 kB / 0.5566 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.7503, allocations: 0 / 0.5566 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.356e-05/0.7504, allocations: 63.34 kB / 0.5567 GB, free: 5.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.7504, allocations: 0 / 0.5567 GB, free: 5.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003971/0.7508, allocations: 141.1 kB / 0.5568 GB, free: 5.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.7509, allocations: 51.41 kB / 0.5569 GB, free: 5.207 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.7511, allocations: 233.7 kB / 0.5571 GB, free: 4.969 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.7511, allocations: 33.64 kB / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.7512, allocations: 92.12 kB / 0.5572 GB, free: 4.836 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.7512, allocations: 27.64 kB / 0.5572 GB, free: 4.809 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.7512, allocations: 0 / 0.5572 GB, free: 4.809 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.7513, allocations: 326.8 kB / 0.5576 GB, free: 4.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.431e-05/0.7514, allocations: 16 kB / 0.5576 GB, free: 4.465 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.429e-05/0.7514, allocations: 37.64 kB / 0.5576 GB, free: 4.422 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.376e-05/0.7515, allocations: 24 kB / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.7515, allocations: 0 / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001497/0.7516, allocations: 93.48 kB / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.7517, allocations: 6.812 kB / 0.5577 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.7517, allocations: 0 / 0.5577 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.7517, allocations: 7.906 kB / 0.5577 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.7518, allocations: 23.92 kB / 0.5578 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.7518, allocations: 0 / 0.5578 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.7519, allocations: 4 kB / 0.5578 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.7519, allocations: 0 / 0.5578 GB, free: 4.262 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.985e-05/0.752, allocations: 110.4 kB / 0.5579 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.752, allocations: 15.81 kB / 0.5579 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.7522, allocations: 103.2 kB / 0.558 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.7522, allocations: 4 kB / 0.558 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7522, allocations: 4 kB / 0.558 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7522, allocations: 3.938 kB / 0.558 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.7527, allocations: 400 kB / 0.5584 GB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7527, allocations: 3.906 kB / 0.5584 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.7527, allocations: 12 kB / 0.5584 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.7527, allocations: 3.984 kB / 0.5584 GB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.7527, allocations: 192 / 0.5584 GB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.7528, allocations: 8 kB / 0.5584 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.7528, allocations: 0 / 0.5584 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001932/0.753, allocations: 209.9 kB / 0.5586 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003013/0.7533, allocations: 0.5763 MB / 0.5592 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.7534, allocations: 96.92 kB / 0.5593 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.7534, allocations: 7.984 kB / 0.5593 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.7535, allocations: 8 kB / 0.5593 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.7535, allocations: 4 kB / 0.5593 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.7535, allocations: 11.92 kB / 0.5593 GB, free: 2.566 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001938/0.7537, allocations: 188.2 kB / 0.5595 GB, free: 2.383 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009023/0.7547, allocations: 39.84 kB / 0.5595 GB, free: 2.344 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.0007542/0.7554, allocations: 344 kB / 0.5598 GB, free: 2.043 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.7556, allocations: 55.97 kB / 0.5599 GB, free: 1.988 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7556, allocations: 0 / 0.5599 GB, free: 1.988 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.5e-05/0.7556, allocations: 31.94 kB / 0.5599 GB, free: 1.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.7559, allocations: 28.23 kB / 0.5599 GB, free: 1.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.7564, allocations: 220.8 kB / 0.5602 GB, free: 1.676 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/0.7568, allocations: 0.7461 MB / 0.5609 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7568, allocations: 0 / 0.5609 GB, free: 0.9062 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)