Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",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.0009894/0.0009894, allocations: 181.8 kB / 8.132 MB, free: 2.207 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.086/1.086, allocations: 221.4 MB / 229.9 MB, free: 3.262 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.0008789/0.0008788, allocations: 93.06 kB / 280.8 MB, free: 1.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6199/0.6199, allocations: 120.4 MB / 452 MB, free: 12.96 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3164/0.9363, allocations: 88.95 MB / 0.5283 GB, free: 52.33 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/1.045, allocations: 82.85 MB / 0.6092 GB, free: 3.453 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4705/1.516, allocations: 128.4 MB / 0.7346 GB, free: 1.531 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001503/1.516, allocations: 49.67 kB / 0.7346 GB, free: 1.508 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.01033/1.526, allocations: 4.156 MB / 0.7387 GB, free: 13.98 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/1.526, allocations: 8 kB / 0.7387 GB, free: 13.98 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/1.526, allocations: 15.81 kB / 0.7387 GB, free: 13.96 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/1.527, allocations: 325.8 kB / 0.739 GB, free: 13.62 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/1.527, allocations: 7.984 kB / 0.739 GB, free: 13.62 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/1.527, allocations: 0 / 0.739 GB, free: 13.62 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.756e-05/1.527, allocations: 11.25 kB / 0.7391 GB, free: 13.61 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.678e-05/1.527, allocations: 56.55 kB / 0.7391 GB, free: 13.55 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/1.527, allocations: 0 / 0.7391 GB, free: 13.55 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/1.527, allocations: 4.656 kB / 0.7391 GB, free: 13.55 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/1.527, allocations: 0 / 0.7391 GB, free: 13.55 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/1.527, allocations: 187.9 kB / 0.7393 GB, free: 13.35 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 8e-05/1.527, allocations: 45.31 kB / 0.7393 GB, free: 13.3 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/1.527, allocations: 20.25 kB / 0.7394 GB, free: 13.28 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/1.527, allocations: 7.312 kB / 0.7394 GB, free: 13.28 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.288e-05/1.527, allocations: 62.22 kB / 0.7394 GB, free: 13.21 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/1.527, allocations: 0 / 0.7394 GB, free: 13.21 MB / 0.5109 GB Notification: Performance of matching and sorting (n=5): time 0.0001518/1.527, allocations: 79.72 kB / 0.7395 GB, free: 13.13 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/1.527, allocations: 51.41 kB / 0.7395 GB, free: 13.07 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/1.528, allocations: 236.5 kB / 0.7398 GB, free: 12.86 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/1.528, allocations: 29.7 kB / 0.7398 GB, free: 12.83 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/1.528, allocations: 107.2 kB / 0.7399 GB, free: 12.73 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/1.528, allocations: 14.5 kB / 0.7399 GB, free: 12.71 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/1.528, allocations: 0 / 0.7399 GB, free: 12.71 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 8.344e-05/1.528, allocations: 335.6 kB / 0.7402 GB, free: 12.39 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/1.528, allocations: 14.62 kB / 0.7402 GB, free: 12.38 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/1.528, allocations: 20.72 kB / 0.7403 GB, free: 12.36 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.181e-05/1.528, allocations: 18.48 kB / 0.7403 GB, free: 12.34 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/1.528, allocations: 0 / 0.7403 GB, free: 12.34 MB / 0.5109 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001087/1.528, allocations: 91.72 kB / 0.7404 GB, free: 12.26 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/1.528, allocations: 4 kB / 0.7404 GB, free: 12.25 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/1.528, allocations: 0 / 0.7404 GB, free: 12.25 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.996e-06/1.528, allocations: 4 kB / 0.7404 GB, free: 12.25 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.046e-05/1.528, allocations: 16.05 kB / 0.7404 GB, free: 12.23 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/1.528, allocations: 4 kB / 0.7404 GB, free: 12.23 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.094e-05/1.528, allocations: 7.906 kB / 0.7404 GB, free: 12.22 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/1.528, allocations: 0 / 0.7404 GB, free: 12.22 MB / 0.5109 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 5.54e-05/1.528, allocations: 116.8 kB / 0.7405 GB, free: 12.11 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/1.528, allocations: 19.72 kB / 0.7405 GB, free: 12.09 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/1.529, allocations: 95.81 kB / 0.7406 GB, free: 12.01 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.529, allocations: 0 / 0.7406 GB, free: 12.01 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/1.529, allocations: 0 / 0.7406 GB, free: 12.01 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.529, allocations: 0 / 0.7406 GB, free: 12.01 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/1.529, allocations: 199.6 kB / 0.7408 GB, free: 11.79 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.529, allocations: 0 / 0.7408 GB, free: 11.79 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/1.529, allocations: 6.625 kB / 0.7408 GB, free: 11.79 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.529, allocations: 0 / 0.7408 GB, free: 11.79 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/1.529, allocations: 4 kB / 0.7408 GB, free: 11.79 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.529, allocations: 7.984 kB / 0.7408 GB, free: 11.78 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.529, allocations: 3.938 kB / 0.7408 GB, free: 11.77 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001106/1.529, allocations: 107.1 kB / 0.7409 GB, free: 11.66 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001937/1.529, allocations: 493 kB / 0.7414 GB, free: 11.17 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/1.529, allocations: 108.5 kB / 0.7415 GB, free: 11.05 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/1.529, allocations: 192 / 0.7415 GB, free: 11.05 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/1.529, allocations: 8 kB / 0.7415 GB, free: 11.04 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/1.529, allocations: 3.984 kB / 0.7415 GB, free: 11.04 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/1.529, allocations: 7.938 kB / 0.7415 GB, free: 11.04 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.000134/1.529, allocations: 193.4 kB / 0.7417 GB, free: 10.88 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0007389/1.53, allocations: 27.75 kB / 0.7417 GB, free: 10.85 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: 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.0005518/1.531, allocations: 305.4 kB / 0.742 GB, free: 10.63 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 8.62e-05/1.531, allocations: 37.55 kB / 0.7421 GB, free: 10.6 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/1.531, allocations: 0 / 0.7421 GB, free: 10.6 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/1.531, allocations: 27.19 kB / 0.7421 GB, free: 10.58 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/1.531, allocations: 31.06 kB / 0.7421 GB, free: 10.55 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/1.531, allocations: 249.7 kB / 0.7424 GB, free: 10.3 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/1.532, allocations: 0.7737 MB / 0.7431 GB, free: 9.508 MB / 0.5109 GB Notification: Performance of SimCode: time 2.71e-07/1.532, allocations: 0 / 0.7431 GB, free: 9.508 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1)