Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking.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.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") [: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.004203/0.004203, allocations: 185.2 kB / 7.459 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.08414/0.08414, allocations: 10.6 MB / 18.46 MB, free: 2.32 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.53/1.53, allocations: 205.2 MB / 226.5 MB, free: 0.5312 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.001066/0.001066, allocations: 85.17 kB / 276.9 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.169e-05/1.172e-05, allocations: 0 / 332.9 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4172, allocations: 49.99 MB / 382.9 MB, free: 39.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.5386, allocations: 83.15 MB / 466.1 MB, free: 4.793 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.539, allocations: 79.95 kB / 466.2 MB, free: 4.715 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.06002/0.599, allocations: 18.46 MB / 484.6 MB, free: 2.191 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000106/0.5992, allocations: 23.98 kB / 484.6 MB, free: 2.168 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003503/0.6027, allocations: 1.225 MB / 485.9 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.6028, allocations: 8.031 kB / 485.9 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000509/0.6033, allocations: 106.7 kB / 486 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.6056, allocations: 0.7388 MB / 486.7 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.632e-05/0.6057, allocations: 24 kB / 486.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.6059, allocations: 44.73 kB / 486.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001067/0.607, allocations: 418.2 kB / 487.2 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.6085, allocations: 0.7223 MB / 487.9 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/0.6086, allocations: 7.906 kB / 487.9 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.853e-05/0.6087, allocations: 11.98 kB / 487.9 MB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.6087, allocations: 12 kB / 487.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004418/0.6132, allocations: 1.869 MB / 489.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00092/0.6141, allocations: 0.5247 MB / 490.3 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004571/0.6146, allocations: 291.8 kB / 490.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.6146, allocations: 8.5 kB / 490.6 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007983/0.6154, allocations: 490.2 kB / 491.1 MB, free: 11.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 3.477e-06/0.6154, allocations: 0 / 491.1 MB, free: 11.4 MB / 378.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) R.cs R.satin R.satDiff R.Iaction when $whenCondition7 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition7 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + R.satDiff / 1.58113883008419, 2.0 * (pre(R.SP) - pre(R.PV)) + pre(R.satDiff) / 1.58113883008419, pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition7 then R.satDiff := R.cs - R.satin; end when; when $whenCondition7 then R.cs := max(0.0, min(2.0, R.satin)); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:317:7-317:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: R.cs R.satin R.satDiff R.Iaction equations: when $whenCondition7 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition7 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + R.satDiff / 1.58113883008419, 2.0 * (pre(R.SP) - pre(R.PV)) + pre(R.satDiff) / 1.58113883008419, pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition7 then R.satDiff := R.cs - R.satin; end when; when $whenCondition7 then R.cs := max(0.0, min(2.0, R.satin)); 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