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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.005441/0.005441, allocations: 97.69 kB / 15.73 MB, free: 6 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.001369/0.001369, allocations: 186.1 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.198/0.198, allocations: 11.17 MB / 301.7 MB, free: 1.328 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.89 kB / 417.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3184, allocations: 51.97 MB / 469.3 MB, free: 16.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003907/0.3223, allocations: 2.333 MB / 471.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3236, allocations: 497.8 kB / 472.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.3239, allocations: 14.03 kB / 472.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.3242, allocations: 60.86 kB / 472.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.3243, allocations: 43.83 kB / 472.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000714/0.3251, allocations: 242.1 kB / 472.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00092/0.326, allocations: 0.7247 MB / 473.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.3262, allocations: 81.61 kB / 473.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.3265, allocations: 230.2 kB / 473.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.3269, allocations: 249.4 kB / 473.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.327, allocations: 49.38 kB / 473.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.723e-05/0.3271, allocations: 50.69 kB / 473.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.3273, allocations: 123.2 kB / 474 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.3276, allocations: 281.5 kB / 474.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.3282, allocations: 0.5047 MB / 474.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3282, allocations: 0 / 474.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3282, allocations: 1.25 kB / 474.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.3282, allocations: 4 kB / 474.8 MB, free: 13.16 MB / 350.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.001423/0.3297, allocations: 0.8922 MB / 475.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.3297, allocations: 14.33 kB / 475.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.3298, allocations: 88.08 kB / 475.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.33, allocations: 71.47 kB / 475.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005232/0.3305, allocations: 419 kB / 476.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.3305, allocations: 30.62 kB / 476.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.3307, allocations: 52.84 kB / 476.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008928/0.3316, allocations: 0.505 MB / 476.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.3316, allocations: 8.953 kB / 476.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.3317, allocations: 22.97 kB / 476.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.3317, allocations: 7.969 kB / 476.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007187/0.3324, allocations: 380.4 kB / 477.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.3348, allocations: 1.321 MB / 478.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007717/0.3356, allocations: 0.5272 MB / 479.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.3361, allocations: 472.4 kB / 479.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3362, allocations: 13.58 kB / 479.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005568/0.3367, allocations: 350.5 kB / 479.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 3.767e-06/0.3367, allocations: 3.938 kB / 479.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.001741/0.3385, allocations: 0.8142 MB / 480.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.3386, allocations: 221.9 kB / 480.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005565/0.3392, allocations: 452.4 kB / 481.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.3392, allocations: 48.62 kB / 481.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.3394, allocations: 263.8 kB / 481.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.3395, allocations: 151.1 kB / 481.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.3397, allocations: 133.3 kB / 482 MB, free: 8.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3398, allocations: 370.1 kB / 482.3 MB, free: 7.66 MB / 350.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