Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",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.002012/0.002012, 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.376/1.376, allocations: 221.4 MB / 230.3 MB, free: 7.664 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.001004/0.001004, allocations: 96.09 kB / 281.2 MB, free: 5.469 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.2113/0.2113, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.272/0.4833, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.6171, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3976/1.015, allocations: 88.48 MB / 0.5806 GB, free: 8.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.015, allocations: 79.61 kB / 0.5807 GB, free: 8.195 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.01661/1.032, allocations: 5.614 MB / 0.5862 GB, free: 2.551 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.032, allocations: 11.94 kB / 0.5862 GB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/1.032, allocations: 15.91 kB / 0.5862 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/1.032, allocations: 207.5 kB / 0.5864 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/1.032, allocations: 4 kB / 0.5864 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/1.032, allocations: 4 kB / 0.5864 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.183e-05/1.032, allocations: 23.92 kB / 0.5864 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/1.032, allocations: 53.58 kB / 0.5865 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.032, allocations: 4 kB / 0.5865 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/1.033, allocations: 0 / 0.5865 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.033, allocations: 0 / 0.5865 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/1.033, allocations: 277.3 kB / 0.5867 GB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/1.033, allocations: 54.62 kB / 0.5868 GB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/1.033, allocations: 24.98 kB / 0.5868 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/1.033, allocations: 0 / 0.5868 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/1.033, allocations: 67.33 kB / 0.5869 GB, free: 1.707 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/1.033, allocations: 0 / 0.5869 GB, free: 1.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004412/1.034, allocations: 125.3 kB / 0.587 GB, free: 1.578 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/1.034, allocations: 51.41 kB / 0.587 GB, free: 1.516 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/1.034, allocations: 179.6 kB / 0.5872 GB, free: 1.332 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/1.034, allocations: 29.7 kB / 0.5872 GB, free: 1.297 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/1.034, allocations: 96.03 kB / 0.5873 GB, free: 1.199 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/1.034, allocations: 27.64 kB / 0.5874 GB, free: 1.172 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/1.034, allocations: 0 / 0.5874 GB, free: 1.172 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/1.034, allocations: 326.8 kB / 0.5877 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/1.034, allocations: 12 kB / 0.5877 GB, free: 0.832 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.587e-05/1.034, allocations: 33.66 kB / 0.5877 GB, free: 0.793 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.707e-05/1.034, allocations: 27.98 kB / 0.5877 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/1.034, allocations: 0 / 0.5877 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001601/1.035, allocations: 97.55 kB / 0.5878 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.035, allocations: 5.094 kB / 0.5878 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.035, allocations: 0 / 0.5878 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.035, allocations: 0 / 0.5878 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/1.035, allocations: 27.92 kB / 0.5879 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.035, allocations: 0 / 0.5879 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/1.035, allocations: 4 kB / 0.5879 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/1.035, allocations: 4.031 kB / 0.5879 GB, free: 0.625 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.447e-05/1.035, allocations: 105 kB / 0.588 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/1.035, allocations: 15.8 kB / 0.588 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/1.035, allocations: 103.1 kB / 0.5881 GB, free: 408 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.035, allocations: 4 kB / 0.5881 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.035, allocations: 0 / 0.5881 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/1.035, allocations: 3.984 kB / 0.5881 GB, free: 400 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/1.036, allocations: 375.8 kB / 0.5884 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.036, allocations: 4 kB / 0.5885 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/1.036, allocations: 8 kB / 0.5885 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/1.036, allocations: 3.984 kB / 0.5885 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/1.036, allocations: 8 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/1.036, allocations: 7.844 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.036, allocations: 0 / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000211/1.036, allocations: 210.1 kB / 0.5887 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003305/1.036, allocations: 0.5764 MB / 0.5892 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/1.036, allocations: 92.92 kB / 0.5893 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/1.036, allocations: 8.172 kB / 0.5893 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/1.037, allocations: 8 kB / 0.5893 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/1.037, allocations: 0 / 0.5893 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/1.037, allocations: 11.98 kB / 0.5894 GB, free: 14.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001384/1.037, allocations: 140 kB / 0.5895 GB, free: 14.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009579/1.038, allocations: 39.92 kB / 0.5895 GB, free: 14.8 MB / 410.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.0008822/1.039, allocations: 351.8 kB / 0.5899 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001601/1.039, allocations: 51.98 kB / 0.5899 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.039, allocations: 0 / 0.5899 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/1.039, allocations: 31.94 kB / 0.5899 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/1.039, allocations: 24.7 kB / 0.59 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/1.04, allocations: 164.7 kB / 0.5901 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000464/1.04, allocations: 0.7309 MB / 0.5908 GB, free: 13.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/1.04, allocations: 0 / 0.5908 GB, free: 13.48 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)