Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",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.001197/0.001197, allocations: 188.3 kB / 7.806 MB, free: 2.453 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.215/1.215, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0008707/0.0008708, allocations: 96.3 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.1703/0.1703, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1853/0.3557, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.6043, allocations: 58.84 MB / 476.7 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.715, allocations: 86.85 MB / 0.5503 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.7153, allocations: 79.44 kB / 0.5504 GB, free: 12.07 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.0146/0.7299, allocations: 5.273 MB / 0.5555 GB, free: 6.754 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.7299, allocations: 11.94 kB / 0.5555 GB, free: 6.742 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.73, allocations: 7.906 kB / 0.5555 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.7303, allocations: 221.6 kB / 0.5558 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.7303, allocations: 0 / 0.5558 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.7304, allocations: 4 kB / 0.5558 GB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.815e-05/0.7305, allocations: 23.98 kB / 0.5558 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.7306, allocations: 49.69 kB / 0.5558 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7306, allocations: 3.906 kB / 0.5558 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.7306, allocations: 3.984 kB / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.7306, allocations: 0 / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.731, allocations: 277.4 kB / 0.5561 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.7311, allocations: 50.59 kB / 0.5562 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/0.7312, allocations: 16.98 kB / 0.5562 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.7312, allocations: 0 / 0.5562 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.7314, allocations: 59.41 kB / 0.5562 GB, free: 5.934 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.7314, allocations: 4 kB / 0.5562 GB, free: 5.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004244/0.7318, allocations: 137.2 kB / 0.5564 GB, free: 5.789 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.7319, allocations: 51.41 kB / 0.5564 GB, free: 5.727 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.7321, allocations: 170.3 kB / 0.5566 GB, free: 5.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.7321, allocations: 29.64 kB / 0.5566 GB, free: 5.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.7322, allocations: 88.14 kB / 0.5567 GB, free: 5.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.7322, allocations: 23.7 kB / 0.5567 GB, free: 5.406 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.7322, allocations: 0 / 0.5567 GB, free: 5.406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7324, allocations: 318.8 kB / 0.557 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.714e-05/0.7324, allocations: 24 kB / 0.557 GB, free: 5.062 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.912e-05/0.7325, allocations: 29.72 kB / 0.5571 GB, free: 5.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.233e-05/0.7326, allocations: 23.92 kB / 0.5571 GB, free: 5.004 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.7326, allocations: 3.906 kB / 0.5571 GB, free: 5 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001622/0.7328, allocations: 93.58 kB / 0.5572 GB, free: 4.902 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.7328, allocations: 4 kB / 0.5572 GB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.7328, allocations: 0 / 0.5572 GB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.7328, allocations: 4.016 kB / 0.5572 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.7329, allocations: 23.94 kB / 0.5572 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.733, allocations: 0 / 0.5572 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.607e-05/0.733, allocations: 3.906 kB / 0.5572 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.733, allocations: 4 kB / 0.5572 GB, free: 4.863 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.79e-05/0.7331, allocations: 113.8 kB / 0.5573 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.7332, allocations: 8.094 kB / 0.5573 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.7334, allocations: 114.1 kB / 0.5574 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.7334, allocations: 4 kB / 0.5574 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.7334, allocations: 0 / 0.5574 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.7334, allocations: 3.984 kB / 0.5574 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003914/0.7338, allocations: 367.8 kB / 0.5578 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7339, allocations: 0 / 0.5578 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.7339, allocations: 8 kB / 0.5578 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.7339, allocations: 0 / 0.5578 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.734, allocations: 7.984 kB / 0.5578 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.734, allocations: 192 / 0.5578 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.734, allocations: 8.031 kB / 0.5578 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001772/0.7342, allocations: 205.9 kB / 0.558 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003101/0.7345, allocations: 0.5803 MB / 0.5586 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.7346, allocations: 88.92 kB / 0.5587 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.7346, allocations: 4 kB / 0.5587 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-05/0.7347, allocations: 3.984 kB / 0.5587 GB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.7348, allocations: 8 kB / 0.5587 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.7348, allocations: 7.938 kB / 0.5587 GB, free: 3.223 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001036/0.7349, allocations: 140.1 kB / 0.5588 GB, free: 3.086 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008467/0.7357, allocations: 43.92 kB / 0.5589 GB, free: 3.043 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.0006439/0.7364, allocations: 350.3 kB / 0.5592 GB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.7365, allocations: 52 kB / 0.5593 GB, free: 2.684 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7365, allocations: 4.062 kB / 0.5593 GB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.143e-05/0.7366, allocations: 31.92 kB / 0.5593 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.0002594/0.7369, allocations: 23.84 kB / 0.5593 GB, free: 2.625 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.7372, allocations: 156.6 kB / 0.5595 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/0.7376, allocations: 0.7309 MB / 0.5602 GB, free: 1.68 MB / 394.7 MB Notification: Performance of SimCode: time 3.7e-07/0.7376, allocations: 4.062 kB / 0.5602 GB, free: 1.676 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)