Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") [: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 3.2.3+maint.om/package.mo): time 0.00428/0.004281, allocations: 180.9 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0605/0.0605, allocations: 10.59 MB / 18.46 MB, free: 2.168 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.2 MB / 226.5 MB, free: 0.4961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 77.72 kB / 276.9 MB, free: 15.63 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.544e-06, allocations: 0 / 332.9 MB, free: 7.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3628, allocations: 49.99 MB / 382.9 MB, free: 39.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.4783, allocations: 80.12 MB / 463 MB, free: 7.531 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/0.4788, allocations: 67.97 kB / 463.1 MB, free: 7.465 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02308/0.5019, allocations: 7.056 MB / 470.2 MB, free: 376 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.798e-05/0.502, allocations: 19.98 kB / 470.2 MB, free: 356 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002363/0.5044, allocations: 0.8664 MB / 471.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/0.5045, allocations: 8.031 kB / 471.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003519/0.5048, allocations: 75.16 kB / 471.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.5065, allocations: 0.538 MB / 471.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.5066, allocations: 50.7 kB / 471.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.5068, allocations: 39.91 kB / 471.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008368/0.5076, allocations: 365.9 kB / 472.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.5087, allocations: 0.5756 MB / 472.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.5088, allocations: 0 / 472.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/0.5089, allocations: 8 kB / 472.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.5089, allocations: 19.98 kB / 472.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003675/0.5126, allocations: 1.704 MB / 474.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007952/0.5134, allocations: 374.1 kB / 474.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.5139, allocations: 317.8 kB / 475.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.578e-05/0.514, allocations: 5.688 kB / 475.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000477/0.5144, allocations: 295.5 kB / 475.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 2.745e-06/0.5145, allocations: 4 kB / 475.4 MB, free: 10.89 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:307:7-307:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Sorry - Support for Discrete Equation Systems is not yet implemented) R_disc.cs R_disc.satin R_disc.satDiff R_disc.Iaction when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP) - pre(R_disc.PV)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:317:7-317:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: R_disc.cs R_disc.satin R_disc.satDiff R_disc.Iaction equations: when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP) - pre(R_disc.PV)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:321:7-321:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7187:5-7187:89:writable] Error: Internal error Transformation module sort components failed