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: "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001777/0.001777, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.08227/0.08227, allocations: 10.65 MB / 18.73 MB, free: 1.324 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.3 MB / 226.9 MB, free: 7.953 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000862/0.000862, allocations: 82.48 kB / 277.3 MB, free: 5.488 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.905e-05, allocations: 0 / 333.6 MB, free: 28.41 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 50.01 MB / 383.6 MB, free: 10.36 MB / 282.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.5883, allocations: 80.48 MB / 464.1 MB, free: 4.332 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.5886, allocations: 77.45 kB / 464.2 MB, free: 4.293 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02056/0.6092, allocations: 7.325 MB / 471.5 MB, free: 14 MB / 346.8 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6093, allocations: 3.938 kB / 471.5 MB, free: 14 MB / 346.8 MB Notification: Performance of Transformations before backend: time 3.851e-05/0.6093, allocations: 19.98 kB / 471.5 MB, free: 13.98 MB / 346.8 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.001522/0.6108, allocations: 0.8708 MB / 472.4 MB, free: 13.1 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.6109, allocations: 12.03 kB / 472.4 MB, free: 13.09 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.6111, allocations: 75.16 kB / 472.5 MB, free: 13.01 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.6122, allocations: 0.5177 MB / 473 MB, free: 12.5 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.6123, allocations: 51.02 kB / 473 MB, free: 12.45 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.515e-05/0.6124, allocations: 39.69 kB / 473.1 MB, free: 12.41 MB / 346.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000575/0.6129, allocations: 354.6 kB / 473.4 MB, free: 12.18 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008589/0.6138, allocations: 0.5771 MB / 474 MB, free: 11.69 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.6138, allocations: 0 / 474 MB, free: 11.69 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.335e-05/0.6139, allocations: 15.92 kB / 474 MB, free: 11.68 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.6139, allocations: 12 kB / 474 MB, free: 11.66 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002609/0.6165, allocations: 1.685 MB / 475.7 MB, free: 10.2 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.6172, allocations: 437.3 kB / 476.1 MB, free: 9.965 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.6176, allocations: 316.1 kB / 476.5 MB, free: 9.824 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.6176, allocations: 7.984 kB / 476.5 MB, free: 9.816 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004409/0.6181, allocations: 297.6 kB / 476.8 MB, free: 9.578 MB / 346.8 MB Notification: Performance of pre-optimization done (n=51): time 1.653e-06/0.6181, allocations: 3.938 kB / 476.8 MB, free: 9.574 MB / 346.8 MB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:321:7-321:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7358:5-7358:89:writable] Error: Internal error Transformation module sort components failed