Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Digital_Examples_TestPID_TDO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Digital_Examples_TestPID_TDO",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007976/0.007976, allocations: 100 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002106/0.002106, allocations: 193.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06613/0.06613, allocations: 10.74 MB / 280.7 MB, free: 10.41 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 74.72 kB / 390.4 MB, free: 5.516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3713, allocations: 49.01 MB / 439.4 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.004023/0.3754, allocations: 2.343 MB / 441.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.3768, allocations: 492.7 kB / 442.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.3771, allocations: 13.38 kB / 442.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.3774, allocations: 70.14 kB / 442.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.3775, allocations: 41.25 kB / 442.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.3781, allocations: 237.6 kB / 442.6 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.3791, allocations: 0.6775 MB / 443.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.3793, allocations: 65.02 kB / 443.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003332/0.3796, allocations: 227.8 kB / 443.5 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004494/0.3801, allocations: 253.5 kB / 443.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.3802, allocations: 46.59 kB / 443.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3803, allocations: 45.78 kB / 443.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.3806, allocations: 135.5 kB / 444 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.3809, allocations: 260.3 kB / 444.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007978/0.3817, allocations: 0.5162 MB / 444.8 MB, free: 1.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.3817, allocations: 0 / 444.8 MB, free: 1.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3817, allocations: 1.625 kB / 444.8 MB, free: 1.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.3818, allocations: 0 / 444.8 MB, free: 1.84 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00197/0.3837, allocations: 0.8878 MB / 445.6 MB, free: 1.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.264e-05/0.3838, allocations: 17.55 kB / 445.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000149/0.3839, allocations: 92.14 kB / 445.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.3841, allocations: 71.5 kB / 445.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007845/0.3849, allocations: 412.9 kB / 446.2 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.803e-05/0.385, allocations: 34.94 kB / 446.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.3851, allocations: 54.09 kB / 446.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.3864, allocations: 0.4965 MB / 446.8 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.3864, allocations: 14.83 kB / 446.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.759e-05/0.3865, allocations: 18.28 kB / 446.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.3865, allocations: 8 kB / 446.9 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000988/0.3875, allocations: 382.7 kB / 447.2 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.3904, allocations: 1.326 MB / 448.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.3912, allocations: 220.8 kB / 448.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.3915, allocations: 166.2 kB / 448.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.3916, allocations: 2.688 kB / 448.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007051/0.3923, allocations: 348.4 kB / 449.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 6.643e-06/0.3923, allocations: 4 kB / 449.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.001933/0.3942, allocations: 0.8298 MB / 450.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001804/0.3944, allocations: 214.3 kB / 450.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006139/0.395, allocations: 465.3 kB / 450.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.3951, allocations: 39.2 kB / 450.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.3953, allocations: 264 kB / 451.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.3955, allocations: 156.4 kB / 451.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.3957, allocations: 128.5 kB / 451.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.3959, allocations: 373.5 kB / 451.7 MB, free: 13.12 MB / 334.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1212:5-1212:82:writable] Error: Internal error Initialization.preBalanceInitialSystem2 failed because variable Controller.dpv:DISCRETE(fixed = false protected = true ) type: Real does not appear in any equation in the initial system and is not fixable. Error: No system for the symbolic initialization was generated