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.001754/0.001755, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.07628/0.07628, allocations: 10.66 MB / 23.92 MB, free: 1.371 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.775/1.775, allocations: 205.2 MB / 232.1 MB, free: 12.84 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008983/0.000898, allocations: 87.58 kB / 282.6 MB, free: 13.59 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 5.579e-05/5.614e-05, allocations: 0 / 340.6 MB, free: 3.543 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.296, allocations: 49.98 MB / 390.6 MB, free: 35.76 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09832/0.3944, allocations: 78.08 MB / 468.6 MB, free: 5.574 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.3947, allocations: 75.95 kB / 468.7 MB, free: 5.5 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01312/0.4079, allocations: 4.771 MB / 473.5 MB, free: 0.7109 MB / 346.8 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4079, allocations: 0 / 473.5 MB, free: 0.7109 MB / 346.8 MB Notification: Performance of Transformations before backend: time 2.88e-05/0.4079, allocations: 8 kB / 473.5 MB, free: 0.7031 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009301/0.4089, allocations: 0.605 MB / 474.1 MB, free: 56 kB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.4089, allocations: 12.03 kB / 474.1 MB, free: 44 kB / 346.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.409, allocations: 58.53 kB / 474.2 MB, free: 15.98 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.298e-05/0.4091, allocations: 47.52 kB / 474.2 MB, free: 15.93 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.4097, allocations: 384.6 kB / 474.6 MB, free: 15.51 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.4098, allocations: 20.5 kB / 474.6 MB, free: 15.49 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-05/0.4098, allocations: 31.94 kB / 474.6 MB, free: 15.46 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.4105, allocations: 406.1 kB / 475 MB, free: 15.04 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.4105, allocations: 4 kB / 475 MB, free: 15.04 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/0.4106, allocations: 11.98 kB / 475 MB, free: 15.03 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.4106, allocations: 15.94 kB / 475.1 MB, free: 15.01 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/0.411, allocations: 258.1 kB / 475.3 MB, free: 14.76 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.4128, allocations: 0.9864 MB / 476.3 MB, free: 13.72 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/0.4133, allocations: 300 kB / 476.6 MB, free: 13.42 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.4136, allocations: 140.8 kB / 476.7 MB, free: 13.28 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.4136, allocations: 0 / 476.7 MB, free: 13.28 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003955/0.414, allocations: 251.2 kB / 477 MB, free: 13.02 MB / 362.8 MB Notification: Performance of pre-optimization done (n=32): time 1.913e-06/0.414, allocations: 0 / 477 MB, free: 13.02 MB / 362.8 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:7819:5-7819:89:writable] Error: Internal error Transformation module sort components failed