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: translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") [: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.004242/0.004241, allocations: 180.9 kB / 7.455 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.08188/0.08188, allocations: 10.59 MB / 18.46 MB, free: 2.172 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.777/1.777, allocations: 205.2 MB / 226.5 MB, free: 0.5273 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.001085/0.001085, allocations: 77.7 kB / 276.9 MB, free: 15.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.486e-06/8.506e-06, allocations: 0 / 332.9 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3702, allocations: 49.99 MB / 382.9 MB, free: 39.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.4962, allocations: 77.34 MB / 460.3 MB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.4966, allocations: 67.97 kB / 460.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01379/0.5104, allocations: 4.433 MB / 464.8 MB, free: 5.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.915e-05/0.5105, allocations: 14.06 kB / 464.8 MB, free: 5.824 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.001069/0.5116, allocations: 0.605 MB / 465.4 MB, free: 5.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.5116, allocations: 12.03 kB / 465.4 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.5118, allocations: 47.52 kB / 465.4 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006752/0.5125, allocations: 370.8 kB / 465.8 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.5125, allocations: 8 kB / 465.8 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/0.5126, allocations: 27.89 kB / 465.8 MB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005185/0.5131, allocations: 257.1 kB / 466.1 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006338/0.5137, allocations: 390.2 kB / 466.5 MB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.5138, allocations: 4 kB / 466.5 MB, free: 4.023 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.5138, allocations: 7.984 kB / 466.5 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.5138, allocations: 4 kB / 466.5 MB, free: 4.012 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.5159, allocations: 0.9275 MB / 467.4 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.5165, allocations: 266.1 kB / 467.7 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.5167, allocations: 133.2 kB / 467.8 MB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.5167, allocations: 7.906 kB / 467.8 MB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003787/0.5171, allocations: 239.2 kB / 468 MB, free: 2.387 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.735e-06/0.5171, allocations: 0 / 468 MB, free: 2.387 MB / 346.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) 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/jenkins/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/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