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.005838/0.005838, allocations: 102.8 kB / 15.73 MB, free: 6.004 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.001204/0.001204, allocations: 191.8 kB / 16.67 MB, free: 5.93 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.578/1.578, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06216/0.06216, allocations: 10.73 MB / 280.6 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.001622/0.001622, allocations: 82.91 kB / 390.4 MB, free: 5.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3205, allocations: 49.01 MB / 439.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.004055/0.3246, allocations: 2.343 MB / 441.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.3258, allocations: 495 kB / 442.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.326, allocations: 13.72 kB / 442.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.3263, allocations: 64.53 kB / 442.3 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.3264, allocations: 37.33 kB / 442.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.3271, allocations: 246.2 kB / 442.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009887/0.3281, allocations: 0.7149 MB / 443.3 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.3284, allocations: 91.62 kB / 443.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.3287, allocations: 227 kB / 443.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004038/0.3291, allocations: 254.9 kB / 443.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.3292, allocations: 45.34 kB / 443.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.267e-05/0.3293, allocations: 50.34 kB / 443.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.3295, allocations: 127 kB / 444 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.3298, allocations: 273.6 kB / 444.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006875/0.3305, allocations: 0.5013 MB / 444.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.3305, allocations: 1.5 kB / 444.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3305, allocations: 3.938 kB / 444.8 MB, free: 1.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3305, allocations: 0 / 444.8 MB, free: 1.82 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.00141/0.3319, allocations: 0.8842 MB / 445.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.332, allocations: 13.72 kB / 445.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.3321, allocations: 88.39 kB / 445.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.3323, allocations: 63.62 kB / 445.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005642/0.3328, allocations: 411.4 kB / 446.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.3329, allocations: 35.69 kB / 446.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.536e-05/0.333, allocations: 54.69 kB / 446.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009988/0.334, allocations: 0.5039 MB / 446.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.334, allocations: 7 kB / 446.9 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-05/0.3341, allocations: 22.41 kB / 446.9 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3341, allocations: 8.062 kB / 446.9 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007595/0.3349, allocations: 377.8 kB / 447.3 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.3374, allocations: 1.327 MB / 448.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008753/0.3383, allocations: 0.5166 MB / 449.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.339, allocations: 476.6 kB / 449.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.339, allocations: 9.156 kB / 449.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006966/0.3397, allocations: 350.3 kB / 449.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 2.294e-06/0.3397, allocations: 4 kB / 449.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.002018/0.3417, allocations: 0.8124 MB / 450.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002006/0.342, allocations: 221.8 kB / 451 MB, free: 13.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007533/0.3427, allocations: 453.2 kB / 451.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.458e-05/0.3428, allocations: 39.77 kB / 451.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/0.3431, allocations: 263.5 kB / 451.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.3434, allocations: 147.5 kB / 451.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/0.3437, allocations: 132.4 kB / 452 MB, free: 13.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000352/0.3441, allocations: 373.3 kB / 452.3 MB, free: 12.66 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