Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",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 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 179.4 kB / 8.517 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 221.4 MB / 230.3 MB, free: 7.695 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 88.25 kB / 281.2 MB, free: 5.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1927/0.1927, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2472/0.44, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.574, allocations: 61.91 MB / 0.4942 GB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3739/0.948, allocations: 88.26 MB / 0.5804 GB, free: 8.441 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.9483, allocations: 79.58 kB / 0.5804 GB, free: 8.367 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01513/0.9634, allocations: 5.299 MB / 0.5856 GB, free: 3.039 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.9635, allocations: 11.94 kB / 0.5856 GB, free: 3.027 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.9635, allocations: 7.906 kB / 0.5856 GB, free: 3.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.9639, allocations: 212.5 kB / 0.5858 GB, free: 2.773 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.9639, allocations: 3.906 kB / 0.5858 GB, free: 2.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.9639, allocations: 4 kB / 0.5859 GB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.787e-05/0.964, allocations: 15.94 kB / 0.5859 GB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.794e-05/0.9641, allocations: 45.67 kB / 0.5859 GB, free: 2.699 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.9641, allocations: 4 kB / 0.5859 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.9641, allocations: 0 / 0.5859 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.9641, allocations: 0 / 0.5859 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.9643, allocations: 158.2 kB / 0.5861 GB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.9644, allocations: 50.53 kB / 0.5861 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.9645, allocations: 16.86 kB / 0.5861 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.9645, allocations: 0 / 0.5861 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.522e-05/0.9646, allocations: 63.44 kB / 0.5862 GB, free: 2.352 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.9646, allocations: 3.938 kB / 0.5862 GB, free: 2.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001958/0.9648, allocations: 73.58 kB / 0.5863 GB, free: 2.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.9649, allocations: 55.41 kB / 0.5863 GB, free: 2.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.965, allocations: 152.2 kB / 0.5865 GB, free: 2.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.9651, allocations: 25.7 kB / 0.5865 GB, free: 2.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.9651, allocations: 84.14 kB / 0.5866 GB, free: 1.934 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.9652, allocations: 23.8 kB / 0.5866 GB, free: 1.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.9652, allocations: 0 / 0.5866 GB, free: 1.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.9653, allocations: 322.8 kB / 0.5869 GB, free: 1.586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.328e-05/0.9653, allocations: 12 kB / 0.5869 GB, free: 1.574 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.905e-05/0.9654, allocations: 25.66 kB / 0.5869 GB, free: 1.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.9654, allocations: 19.98 kB / 0.587 GB, free: 1.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9654, allocations: 0 / 0.587 GB, free: 1.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001364/0.9656, allocations: 78.25 kB / 0.587 GB, free: 1.441 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.9656, allocations: 5.094 kB / 0.587 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.9656, allocations: 0 / 0.587 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.9656, allocations: 0 / 0.587 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.98e-05/0.9657, allocations: 15.94 kB / 0.587 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.9657, allocations: 160 / 0.587 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/0.9658, allocations: 11.92 kB / 0.5871 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.9658, allocations: 0 / 0.5871 GB, free: 1.41 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 (7): * Single equations (assignments): 7 * 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.275e-05/0.9659, allocations: 119.5 kB / 0.5872 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.9659, allocations: 15.94 kB / 0.5872 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.9661, allocations: 77.84 kB / 0.5873 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.9661, allocations: 4 kB / 0.5873 GB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.9661, allocations: 0 / 0.5873 GB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.9662, allocations: 0 / 0.5873 GB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.9663, allocations: 162.1 kB / 0.5874 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9663, allocations: 0 / 0.5874 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.9664, allocations: 11.94 kB / 0.5874 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.9664, allocations: 0 / 0.5874 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.9664, allocations: 0 / 0.5874 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9664, allocations: 4 kB / 0.5874 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.9664, allocations: 0 / 0.5874 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001406/0.9666, allocations: 109.1 kB / 0.5875 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002679/0.9668, allocations: 473.3 kB / 0.588 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.9669, allocations: 100.9 kB / 0.5881 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.9669, allocations: 4 kB / 0.5881 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.741e-05/0.967, allocations: 3.938 kB / 0.5881 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.967, allocations: 7.984 kB / 0.5881 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.9671, allocations: 0 / 0.5881 GB, free: 236 kB / 394.7 MB Notification: Performance of sort global known variables: time 9.927e-05/0.9672, allocations: 127.3 kB / 0.5882 GB, free: 108 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008622/0.968, allocations: 23.89 kB / 0.5882 GB, free: 84 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006704/0.9687, allocations: 312.7 kB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.9688, allocations: 44.06 kB / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9689, allocations: 0 / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.376e-05/0.9689, allocations: 19.98 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.9691, allocations: 22.62 kB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.9695, allocations: 123.7 kB / 0.5887 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/0.9699, allocations: 0.7154 MB / 0.5894 GB, free: 14.88 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.9699, allocations: 0 / 0.5894 GB, free: 14.88 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1)