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"}) [: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.003481/0.003481, allocations: 181.6 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06051/0.06051, allocations: 10.59 MB / 18.46 MB, free: 2.191 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.764/1.764, allocations: 205.2 MB / 226.5 MB, free: 0.6758 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.0009112/0.000911, allocations: 87.41 kB / 276.9 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1416/0.1426, allocations: 56.13 MB / 333 MB, free: 9.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.4679, allocations: 49.98 MB / 383 MB, free: 39.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.5799, allocations: 77.34 MB / 460.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.5802, allocations: 71.95 kB / 460.4 MB, free: 10.54 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.01507/0.5953, allocations: 5.053 MB / 465.5 MB, free: 5.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.5954, allocations: 12 kB / 465.5 MB, free: 5.418 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.5955, allocations: 47.52 kB / 465.5 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.5962, allocations: 378.7 kB / 465.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.5962, allocations: 8 kB / 465.9 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.89e-05/0.5963, allocations: 35.89 kB / 465.9 MB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004581/0.5967, allocations: 249.2 kB / 466.2 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/0.5973, allocations: 394.2 kB / 466.6 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.5973, allocations: 0 / 466.6 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/0.5974, allocations: 7.984 kB / 466.6 MB, free: 4.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.5974, allocations: 4 kB / 466.6 MB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.5992, allocations: 0.9237 MB / 467.5 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.5998, allocations: 270.1 kB / 467.8 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.6, allocations: 137.6 kB / 467.9 MB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.6, allocations: 0 / 467.9 MB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003692/0.6004, allocations: 243.1 kB / 468.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.863e-06/0.6004, allocations: 0 / 468.1 MB, free: 2.633 MB / 346.7 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:7187:5-7187:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode: The model IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction could not be translated to FMU