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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",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.003627/0.003627, allocations: 178.6 kB / 7.455 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06191/0.06191, allocations: 10.59 MB / 18.45 MB, free: 2.156 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.676/1.676, allocations: 205.2 MB / 226.5 MB, free: 0.5117 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.001008/0.001008, allocations: 91.44 kB / 276.9 MB, free: 15.65 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1534/0.1545, allocations: 56.12 MB / 333 MB, free: 7.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.4918, allocations: 49.99 MB / 383 MB, free: 39.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.6113, allocations: 83.15 MB / 466.2 MB, free: 4.496 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.6117, allocations: 79.95 kB / 466.2 MB, free: 4.418 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.05899/0.6707, allocations: 19.72 MB / 486 MB, free: 0.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.6708, allocations: 8 kB / 486 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.6711, allocations: 110.7 kB / 486.1 MB, free: 436 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.6732, allocations: 0.7348 MB / 486.8 MB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.6732, allocations: 27.89 kB / 486.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.6734, allocations: 43.98 kB / 486.9 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007979/0.6742, allocations: 418.1 kB / 487.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.6754, allocations: 0.7185 MB / 488 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.6755, allocations: 7.844 kB / 488 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.136e-05/0.6755, allocations: 11.98 kB / 488 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.6756, allocations: 12 kB / 488 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003905/0.6795, allocations: 1.861 MB / 489.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000811/0.6803, allocations: 0.5372 MB / 490.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.6807, allocations: 288.6 kB / 490.7 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.6808, allocations: 8.484 kB / 490.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007725/0.6816, allocations: 490.2 kB / 491.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 3.657e-06/0.6816, allocations: 0 / 491.2 MB, free: 11.09 MB / 378.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) 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/jenkins1/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/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.Controllers.Examples.TestPID_tracking could not be translated to FMU