Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",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.001608/0.001609, allocations: 171.4 kB / 8.514 MB, free: 1.852 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.239/1.239, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.0009293/0.0009292, allocations: 84.73 kB / 281.2 MB, free: 5.473 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.196/0.196, allocations: 44.14 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2311/0.4271, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.5511, allocations: 61.91 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3869/0.9381, allocations: 88.29 MB / 0.5804 GB, free: 8.426 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.9384, allocations: 67.97 kB / 0.5805 GB, free: 8.359 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.01588/0.9543, allocations: 5.731 MB / 0.5861 GB, free: 2.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.9543, allocations: 15.94 kB / 0.5861 GB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.9544, allocations: 11.81 kB / 0.5861 GB, free: 2.574 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.9548, allocations: 234.3 kB / 0.5863 GB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.9548, allocations: 3.938 kB / 0.5863 GB, free: 2.301 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.9548, allocations: 3.984 kB / 0.5863 GB, free: 2.297 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.566e-05/0.9549, allocations: 12 kB / 0.5863 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.772e-05/0.955, allocations: 53.58 kB / 0.5864 GB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.955, allocations: 0 / 0.5864 GB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.9551, allocations: 4 kB / 0.5864 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.9551, allocations: 0 / 0.5864 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.9553, allocations: 162.2 kB / 0.5866 GB, free: 2.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.824e-05/0.9554, allocations: 50.62 kB / 0.5866 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.9554, allocations: 20.8 kB / 0.5866 GB, free: 1.945 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.9555, allocations: 0 / 0.5866 GB, free: 1.945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.419e-05/0.9556, allocations: 63.48 kB / 0.5867 GB, free: 1.871 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.9556, allocations: 0 / 0.5867 GB, free: 1.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000203/0.9558, allocations: 73.5 kB / 0.5868 GB, free: 1.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.9558, allocations: 59.34 kB / 0.5868 GB, free: 1.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.9561, allocations: 230.6 kB / 0.587 GB, free: 1.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.9561, allocations: 25.7 kB / 0.5871 GB, free: 1.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.9562, allocations: 96.12 kB / 0.5871 GB, free: 1.359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.9562, allocations: 7.891 kB / 0.5872 GB, free: 1.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.9562, allocations: 0 / 0.5872 GB, free: 1.352 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9563, allocations: 326.8 kB / 0.5875 GB, free: 1.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.054e-05/0.9564, allocations: 12 kB / 0.5875 GB, free: 1.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.004e-05/0.9564, allocations: 33.66 kB / 0.5875 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/0.9564, allocations: 19.92 kB / 0.5875 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9565, allocations: 4 kB / 0.5875 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001196/0.9566, allocations: 73.5 kB / 0.5876 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.9566, allocations: 4 kB / 0.5876 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.9566, allocations: 0 / 0.5876 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.9566, allocations: 3.906 kB / 0.5876 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.9567, allocations: 19.92 kB / 0.5876 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.9567, allocations: 0 / 0.5876 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.9568, allocations: 11.97 kB / 0.5876 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.9568, allocations: 160 / 0.5876 GB, free: 0.832 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 7.492e-05/0.9569, allocations: 109 kB / 0.5877 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.9569, allocations: 11.81 kB / 0.5878 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.9571, allocations: 90.73 kB / 0.5878 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.9571, allocations: 3.906 kB / 0.5878 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.9571, allocations: 0 / 0.5878 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.9571, allocations: 3.984 kB / 0.5878 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.9572, allocations: 182.2 kB / 0.588 GB, free: 400 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.9572, allocations: 7.938 kB / 0.588 GB, free: 392 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/0.9573, allocations: 4 kB / 0.588 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.9573, allocations: 0 / 0.588 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.9573, allocations: 0 / 0.588 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9573, allocations: 0 / 0.588 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.9573, allocations: 3.906 kB / 0.588 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001278/0.9574, allocations: 109.1 kB / 0.5881 GB, free: 256 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002913/0.9578, allocations: 489.3 kB / 0.5886 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.014e-05/0.9579, allocations: 96.91 kB / 0.5887 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.9579, allocations: 0 / 0.5887 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.828e-05/0.958, allocations: 7.938 kB / 0.5887 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.958, allocations: 7.984 kB / 0.5887 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.958, allocations: 4 kB / 0.5887 GB, free: 15.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001718/0.9582, allocations: 188.2 kB / 0.5889 GB, free: 15.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008683/0.9591, allocations: 31.91 kB / 0.5889 GB, free: 15.4 MB / 410.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.0005979/0.9597, allocations: 311.9 kB / 0.5892 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.9598, allocations: 44.06 kB / 0.5893 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9598, allocations: 0 / 0.5893 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.834e-05/0.9599, allocations: 16 kB / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.9601, allocations: 31.83 kB / 0.5893 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.9605, allocations: 191.9 kB / 0.5895 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.9608, allocations: 0.7344 MB / 0.5902 GB, free: 14.11 MB / 410.7 MB Notification: Performance of SimCode: time 2.054e-06/0.9608, allocations: 0 / 0.5902 GB, free: 14.11 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)