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.006026/0.006026, allocations: 102 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.001333/0.001333, allocations: 192 kB / 16.67 MB, free: 5.973 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06273/0.06273, allocations: 11.21 MB / 301.7 MB, free: 4.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 78.59 kB / 417.4 MB, free: 19.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1052, allocations: 51.98 MB / 469.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003921/0.1091, allocations: 2.336 MB / 471.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.1104, allocations: 487.6 kB / 472.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.1106, allocations: 11.88 kB / 472.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.1109, allocations: 71.27 kB / 472.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.111, allocations: 35.56 kB / 472.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.1116, allocations: 243.6 kB / 472.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008639/0.1125, allocations: 0.7187 MB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.1127, allocations: 81.27 kB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.1129, allocations: 231.3 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.1133, allocations: 258.8 kB / 473.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.2e-05/0.1134, allocations: 48 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.963e-05/0.1135, allocations: 44 kB / 473.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.1137, allocations: 123.6 kB / 474 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.114, allocations: 274.5 kB / 474.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006161/0.1146, allocations: 0.5097 MB / 474.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1146, allocations: 4 kB / 474.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1146, allocations: 4 kB / 474.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.1147, allocations: 0 / 474.8 MB, free: 9.613 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.001411/0.1161, allocations: 0.8914 MB / 475.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1161, allocations: 11.89 kB / 475.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.1162, allocations: 94.7 kB / 475.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.1164, allocations: 68.56 kB / 475.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.1169, allocations: 408.5 kB / 476.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.117, allocations: 33.38 kB / 476.3 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.991e-05/0.1171, allocations: 60.36 kB / 476.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009415/0.118, allocations: 0.5027 MB / 476.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.1181, allocations: 11.89 kB / 476.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.1181, allocations: 20 kB / 476.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1182, allocations: 11.94 kB / 476.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007258/0.1189, allocations: 375.8 kB / 477.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.1212, allocations: 1.332 MB / 478.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007804/0.122, allocations: 0.5184 MB / 479.1 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005944/0.1226, allocations: 477.8 kB / 479.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1226, allocations: 7.906 kB / 479.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005499/0.1232, allocations: 355.3 kB / 479.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.993e-06/0.1232, allocations: 0 / 479.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.001628/0.1248, allocations: 0.8183 MB / 480.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.125, allocations: 219.9 kB / 480.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.1255, allocations: 457.7 kB / 481.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.1256, allocations: 45.7 kB / 481.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.1259, allocations: 264.5 kB / 481.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.126, allocations: 150.8 kB / 481.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.1262, allocations: 130.2 kB / 482 MB, free: 2.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.1264, allocations: 374.7 kB / 482.3 MB, free: 1.723 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