Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction.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.LinearSystems.Examples.ComparisonTFunction,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_ComparisonTFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_ComparisonTFunction",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.006081/0.006081, allocations: 171.2 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05768/0.05768, allocations: 10.74 MB / 26.59 MB, free: 2.211 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.4 MB / 235.2 MB, free: 184 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009924/0.0009925, allocations: 87.28 kB / 285.9 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003945, allocations: 11.98 kB / 346.5 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 49.99 MB / 396.5 MB, free: 2.988 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3767/0.4978, allocations: 78.15 MB / 474.6 MB, free: 17.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.4981, allocations: 80.14 kB / 474.7 MB, free: 17.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01241/0.5105, allocations: 4.782 MB / 479.5 MB, free: 13.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5106, allocations: 0 / 479.5 MB, free: 13.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.731e-05/0.5106, allocations: 17.08 kB / 479.5 MB, free: 13.91 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009242/0.5115, allocations: 0.6518 MB / 480.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.5116, allocations: 8.031 kB / 480.2 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.178e-05/0.5117, allocations: 60.59 kB / 480.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.458e-05/0.5118, allocations: 54.86 kB / 480.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.5123, allocations: 376.4 kB / 480.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.5123, allocations: 27.69 kB / 480.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.5124, allocations: 23.19 kB / 480.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005954/0.513, allocations: 431.7 kB / 481.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.513, allocations: 0 / 481.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.513, allocations: 11 kB / 481.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.5131, allocations: 8 kB / 481.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.5135, allocations: 279.3 kB / 481.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.5151, allocations: 0.9835 MB / 482.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.5156, allocations: 318.8 kB / 482.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.5156, allocations: 4 kB / 482.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003672/0.516, allocations: 250.7 kB / 483 MB, free: 10.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.275e-06/0.516, allocations: 0 / 483 MB, free: 10.86 MB / 346.7 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) tf_TU.Y[1] tf_TU.w tf_TU.Y[2] tf_TU.Y[3] when $whenCondition1 then tf_TU.w := tf_TU.num[1] * tf_TU.U[1] + tf_TU.num[2] * tf_TU.U[2] + (-tf_TU.b[3]) * tf_TU.Y[3] - tf_TU.b[1] * tf_TU.Y[1]; end when; when $whenCondition1 then tf_TU.Y[3] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(0.5, tf_TU.Y[2], pre(tf_TU.Y[2]), pre(tf_TU.Y[3]), tf_TU.Ts, 1.0); end when; when $whenCondition1 then tf_TU.Y[2] := tf_TU.w; end when; when $whenCondition1 then tf_TU.Y[1] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fDerivator(1.0, tf_TU.w, pre(tf_TU.w), pre(tf_TU.Y[1]), tf_TU.Ts, 1.0); end when; [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: tf_TU.Y[1] tf_TU.w tf_TU.Y[2] tf_TU.Y[3] equations: when $whenCondition1 then tf_TU.w := tf_TU.num[1] * tf_TU.U[1] + tf_TU.num[2] * tf_TU.U[2] + (-tf_TU.b[3]) * tf_TU.Y[3] - tf_TU.b[1] * tf_TU.Y[1]; end when; when $whenCondition1 then tf_TU.Y[3] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(0.5, tf_TU.Y[2], pre(tf_TU.Y[2]), pre(tf_TU.Y[3]), tf_TU.Ts, 1.0); end when; when $whenCondition1 then tf_TU.Y[2] := tf_TU.w; end when; when $whenCondition1 then tf_TU.Y[1] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fDerivator(1.0, tf_TU.w, pre(tf_TU.w), pre(tf_TU.Y[1]), tf_TU.Ts, 1.0); end when; [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7906:5-7906:89:writable] Error: Internal error Transformation module sort components failed