Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:33: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.0009256/0.0009257, allocations: 186.4 kB / 8.133 MB, free: 2.203 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.046/1.046, allocations: 221.4 MB / 229.9 MB, free: 3.059 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.0008917/0.0008917, allocations: 110.7 kB / 280.8 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6372/0.6372, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3325/0.9698, allocations: 88.96 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/1.084, allocations: 82.85 MB / 0.6092 GB, free: 3.453 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4778/1.561, allocations: 128.4 MB / 0.7346 GB, free: 1.773 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001205/1.562, allocations: 45.86 kB / 0.7347 GB, free: 1.754 MB / 0.4953 GB 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.08707/1.649, allocations: 31.53 MB / 0.7655 GB, free: 4.355 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/1.649, allocations: 15.88 kB / 0.7655 GB, free: 4.34 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006101/1.649, allocations: 0.5629 MB / 0.766 GB, free: 3.77 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00885/1.658, allocations: 5.751 MB / 0.7716 GB, free: 14.62 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/1.658, allocations: 0 / 0.7716 GB, free: 14.62 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/1.658, allocations: 0 / 0.7716 GB, free: 14.62 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.881e-05/1.658, allocations: 15.62 kB / 0.7716 GB, free: 14.61 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.255e-05/1.658, allocations: 44.8 kB / 0.7717 GB, free: 14.56 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/1.658, allocations: 0 / 0.7717 GB, free: 14.56 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/1.658, allocations: 0 / 0.7717 GB, free: 14.56 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/1.658, allocations: 0 / 0.7717 GB, free: 14.56 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/1.66, allocations: 1.815 MB / 0.7735 GB, free: 13.21 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 8.914e-05/1.66, allocations: 46.22 kB / 0.7735 GB, free: 13.16 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/1.66, allocations: 16.23 kB / 0.7735 GB, free: 13.15 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/1.66, allocations: 3.984 kB / 0.7735 GB, free: 13.14 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.456e-05/1.66, allocations: 59.06 kB / 0.7736 GB, free: 13.08 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/1.66, allocations: 0 / 0.7736 GB, free: 13.08 MB / 0.5421 GB Notification: Performance of matching and sorting (n=5): time 0.0005397/1.661, allocations: 0.622 MB / 0.7742 GB, free: 12.46 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/1.661, allocations: 55.34 kB / 0.7742 GB, free: 12.39 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004853/1.665, allocations: 5.191 MB / 0.7793 GB, free: 8.238 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/1.666, allocations: 25.7 kB / 0.7793 GB, free: 8.207 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004869/1.666, allocations: 0.8185 MB / 0.7801 GB, free: 7.633 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/1.666, allocations: 15.73 kB / 0.7802 GB, free: 7.617 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/1.666, allocations: 3.938 kB / 0.7802 GB, free: 7.613 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 8.108e-05/1.666, allocations: 313.7 kB / 0.7805 GB, free: 7.305 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/1.666, allocations: 11.06 kB / 0.7805 GB, free: 7.297 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.46e-05/1.666, allocations: 27.59 kB / 0.7805 GB, free: 7.27 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/1.666, allocations: 14.8 kB / 0.7805 GB, free: 7.258 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.666, allocations: 0 / 0.7805 GB, free: 7.258 MB / 0.5421 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004854/1.667, allocations: 0.6249 MB / 0.7811 GB, free: 6.629 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.667, allocations: 4 kB / 0.7811 GB, free: 6.625 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.667, allocations: 3.938 kB / 0.7811 GB, free: 6.621 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/1.667, allocations: 4 kB / 0.7811 GB, free: 6.617 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.587e-05/1.667, allocations: 16.02 kB / 0.7811 GB, free: 6.602 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/1.667, allocations: 0 / 0.7811 GB, free: 6.602 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/1.667, allocations: 4 kB / 0.7811 GB, free: 6.598 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/1.667, allocations: 0 / 0.7811 GB, free: 6.598 MB / 0.5421 GB 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.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 6.516e-05/1.667, allocations: 116.9 kB / 0.7813 GB, free: 6.48 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004041/1.668, allocations: 0.5551 MB / 0.7818 GB, free: 5.918 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007521/1.669, allocations: 0.7205 MB / 0.7825 GB, free: 5.316 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.669, allocations: 0 / 0.7825 GB, free: 5.316 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.669, allocations: 4 kB / 0.7825 GB, free: 5.312 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.669, allocations: 0 / 0.7825 GB, free: 5.312 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/1.67, allocations: 1.963 MB / 0.7844 GB, free: 3.812 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.67, allocations: 0 / 0.7844 GB, free: 3.812 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/1.67, allocations: 7.984 kB / 0.7844 GB, free: 3.805 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.67, allocations: 0 / 0.7844 GB, free: 3.805 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/1.67, allocations: 0 / 0.7844 GB, free: 3.805 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.67, allocations: 4 kB / 0.7844 GB, free: 3.801 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.67, allocations: 0 / 0.7844 GB, free: 3.801 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005065/1.671, allocations: 0.6788 MB / 0.7851 GB, free: 3.109 MB / 0.5421 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000682/1.671, allocations: 1.172 MB / 0.7862 GB, free: 1.922 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005913/1.672, allocations: 0.567 MB / 0.7868 GB, free: 1.332 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/1.672, allocations: 0 / 0.7868 GB, free: 1.332 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/1.673, allocations: 7.984 kB / 0.7868 GB, free: 1.324 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/1.673, allocations: 0 / 0.7868 GB, free: 1.324 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/1.673, allocations: 11.31 kB / 0.7868 GB, free: 1.316 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.003759/1.676, allocations: 4.046 MB / 0.7908 GB, free: 14.18 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.0009766/1.677, allocations: 155.9 kB / 0.7909 GB, free: 14.03 MB / 0.5578 GB 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,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.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.0005958/1.678, allocations: 302.9 kB / 0.7912 GB, free: 13.8 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 9.479e-05/1.678, allocations: 39.69 kB / 0.7912 GB, free: 13.77 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/1.678, allocations: 0 / 0.7912 GB, free: 13.77 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/1.678, allocations: 23.81 kB / 0.7913 GB, free: 13.75 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007429/1.679, allocations: 436.5 kB / 0.7917 GB, free: 13.58 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/1.696, allocations: 6.855 MB / 0.7984 GB, free: 6.957 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003638/1.7, allocations: 3.634 MB / 0.8019 GB, free: 3.574 MB / 0.5578 GB Notification: Performance of SimCode: time 6.12e-07/1.7, allocations: 0 / 0.8019 GB, free: 3.574 MB / 0.5578 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1)