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.001589/0.001589, allocations: 176.2 kB / 7.649 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.06584/0.06584, allocations: 10.66 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.09/2.09, allocations: 205.3 MB / 226.9 MB, free: 7.895 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.001055/0.001055, allocations: 94.39 kB / 277.3 MB, free: 5.426 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 2.164e-05/2.198e-05, allocations: 4 kB / 333.6 MB, free: 28.39 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 50 MB / 383.6 MB, free: 10.34 MB / 282.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4341/0.5593, allocations: 77.73 MB / 461.3 MB, free: 6.746 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.5597, allocations: 66.59 kB / 461.4 MB, free: 6.711 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01364/0.5734, allocations: 4.75 MB / 466.2 MB, free: 2.605 MB / 330.8 MB Notification: Performance of FrontEnd: time 2.265e-06/0.5735, allocations: 0 / 466.2 MB, free: 2.605 MB / 330.8 MB Notification: Performance of Transformations before backend: time 3.271e-05/0.5735, allocations: 12 kB / 466.2 MB, free: 2.594 MB / 330.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.0011/0.5746, allocations: 0.5999 MB / 466.8 MB, free: 1.977 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.563e-05/0.5747, allocations: 8.031 kB / 466.8 MB, free: 1.969 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.5748, allocations: 43.52 kB / 466.8 MB, free: 1.926 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005823/0.5754, allocations: 375.2 kB / 467.2 MB, free: 1.551 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.5755, allocations: 19.7 kB / 467.2 MB, free: 1.535 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.5755, allocations: 19.98 kB / 467.2 MB, free: 1.516 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004402/0.576, allocations: 242.1 kB / 467.5 MB, free: 1.355 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.5766, allocations: 389.4 kB / 467.8 MB, free: 1.035 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.5766, allocations: 3.984 kB / 467.9 MB, free: 1.031 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.5767, allocations: 11.92 kB / 467.9 MB, free: 1.02 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.5767, allocations: 4 kB / 467.9 MB, free: 1.016 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.5785, allocations: 0.9153 MB / 468.8 MB, free: 216 kB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/0.5792, allocations: 279.7 kB / 469.1 MB, free: 8 kB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.5794, allocations: 134.1 kB / 469.2 MB, free: 15.91 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.5794, allocations: 4 kB / 469.2 MB, free: 15.91 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003633/0.5798, allocations: 232.1 kB / 469.4 MB, free: 15.72 MB / 346.8 MB Notification: Performance of pre-optimization done (n=32): time 2.625e-06/0.5798, allocations: 0 / 469.4 MB, free: 15.72 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) 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/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:317:7-317: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/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