Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",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.0009636/0.0009636, allocations: 182.8 kB / 8.137 MB, free: 2.191 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.072/1.072, allocations: 221.4 MB / 229.9 MB, free: 3.375 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.0009008/0.0009008, allocations: 96.91 kB / 280.8 MB, free: 1.301 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6369/0.6369, allocations: 120.4 MB / 452 MB, free: 13.08 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3211/0.958, allocations: 88.97 MB / 0.5283 GB, free: 52.37 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/1.069, allocations: 82.84 MB / 0.6092 GB, free: 3.496 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4765/1.546, allocations: 125.9 MB / 0.7321 GB, free: 4.441 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001281/1.546, allocations: 55.62 kB / 0.7322 GB, free: 4.422 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.008166/1.554, allocations: 3.282 MB / 0.7354 GB, free: 1.707 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/1.554, allocations: 8 kB / 0.7354 GB, free: 1.695 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/1.554, allocations: 15.81 kB / 0.7354 GB, free: 1.68 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/1.555, allocations: 306.3 kB / 0.7357 GB, free: 1.352 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/1.555, allocations: 1.125 kB / 0.7357 GB, free: 1.352 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/1.555, allocations: 0 / 0.7357 GB, free: 1.352 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.674e-05/1.555, allocations: 23.02 kB / 0.7357 GB, free: 1.332 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.852e-05/1.555, allocations: 55.91 kB / 0.7358 GB, free: 1.277 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/1.555, allocations: 0 / 0.7358 GB, free: 1.277 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/1.555, allocations: 0 / 0.7358 GB, free: 1.277 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/1.555, allocations: 4 kB / 0.7358 GB, free: 1.273 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/1.555, allocations: 174.6 kB / 0.736 GB, free: 1.082 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 4.262e-05/1.555, allocations: 40.7 kB / 0.736 GB, free: 1.043 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/1.555, allocations: 34.36 kB / 0.736 GB, free: 1.016 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/1.555, allocations: 3.906 kB / 0.736 GB, free: 1.012 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.893e-05/1.555, allocations: 87.84 kB / 0.7361 GB, free: 0.918 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/1.555, allocations: 0 / 0.7361 GB, free: 0.918 MB / 0.4953 GB Notification: Performance of matching and sorting (n=8): time 0.0001988/1.555, allocations: 92.05 kB / 0.7362 GB, free: 0.832 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/1.556, allocations: 81.11 kB / 0.7363 GB, free: 0.7344 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/1.556, allocations: 199.7 kB / 0.7365 GB, free: 0.5586 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/1.556, allocations: 29.7 kB / 0.7365 GB, free: 0.5234 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.932e-05/1.556, allocations: 98.91 kB / 0.7366 GB, free: 440 kB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/1.556, allocations: 19.25 kB / 0.7366 GB, free: 424 kB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/1.556, allocations: 0 / 0.7366 GB, free: 424 kB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 8.624e-05/1.556, allocations: 333.6 kB / 0.7369 GB, free: 16.09 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/1.556, allocations: 14.88 kB / 0.7369 GB, free: 16.08 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/1.556, allocations: 19.25 kB / 0.737 GB, free: 16.06 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/1.556, allocations: 22.42 kB / 0.737 GB, free: 16.05 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.556, allocations: 0 / 0.737 GB, free: 16.05 MB / 0.5109 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001211/1.556, allocations: 98.97 kB / 0.7371 GB, free: 15.96 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/1.556, allocations: 4 kB / 0.7371 GB, free: 15.95 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.556, allocations: 0.5625 kB / 0.7371 GB, free: 15.95 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/1.556, allocations: 0 / 0.7371 GB, free: 15.95 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.399e-05/1.556, allocations: 7.938 kB / 0.7371 GB, free: 15.95 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/1.556, allocations: 3.984 kB / 0.7371 GB, free: 15.94 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/1.556, allocations: 4.688 kB / 0.7371 GB, free: 15.94 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/1.556, allocations: 4 kB / 0.7371 GB, free: 15.93 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.028e-05/1.556, allocations: 146.5 kB / 0.7372 GB, free: 15.78 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/1.556, allocations: 15.81 kB / 0.7373 GB, free: 15.76 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/1.556, allocations: 21.14 kB / 0.7373 GB, free: 15.74 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.556, allocations: 4 kB / 0.7373 GB, free: 15.74 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.556, allocations: 0 / 0.7373 GB, free: 15.74 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/1.556, allocations: 0 / 0.7373 GB, free: 15.74 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/1.557, allocations: 196 kB / 0.7375 GB, free: 15.53 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/1.557, allocations: 0 / 0.7375 GB, free: 15.53 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/1.557, allocations: 3.938 kB / 0.7375 GB, free: 15.52 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/1.557, allocations: 8 kB / 0.7375 GB, free: 15.52 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/1.557, allocations: 4 kB / 0.7375 GB, free: 15.51 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.557, allocations: 0 / 0.7375 GB, free: 15.51 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.557, allocations: 3.984 kB / 0.7375 GB, free: 15.51 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001706/1.557, allocations: 135.2 kB / 0.7376 GB, free: 15.38 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002409/1.557, allocations: 0.5069 MB / 0.7381 GB, free: 14.87 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/1.557, allocations: 107.7 kB / 0.7382 GB, free: 14.75 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/1.557, allocations: 0 / 0.7382 GB, free: 14.75 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.509e-05/1.557, allocations: 4 kB / 0.7382 GB, free: 14.74 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/1.557, allocations: 4 kB / 0.7382 GB, free: 14.74 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/1.557, allocations: 14.94 kB / 0.7382 GB, free: 14.73 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001027/1.557, allocations: 169.5 kB / 0.7384 GB, free: 14.58 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0007522/1.558, allocations: 32 kB / 0.7384 GB, free: 14.55 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001812/1.558, allocations: 130.9 kB / 0.7385 GB, free: 14.42 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0001212/1.558, allocations: 78.08 kB / 0.7386 GB, free: 14.36 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.558, allocations: 0.5938 kB / 0.7386 GB, free: 14.36 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 6.783e-05/1.559, allocations: 81.28 kB / 0.7387 GB, free: 14.3 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/1.559, allocations: 13.03 kB / 0.7387 GB, free: 14.29 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/1.559, allocations: 204.8 kB / 0.7389 GB, free: 14.08 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/1.559, allocations: 0.7472 MB / 0.7396 GB, free: 13.31 MB / 0.5109 GB Notification: Performance of SimCode: time 2.11e-07/1.559, allocations: 0 / 0.7396 GB, free: 13.31 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1)