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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 225.8 kB / 22.25 MB, free: 3.566 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.09/1.09, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.04009/0.04009, allocations: 11.35 MB / 323.8 MB, free: 7.117 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Digital_Examples_TestPID_TDO",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Digital_Examples_TestPID_TDO",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 77.02 kB / 451.8 MB, free: 35.19 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1345, allocations: 56.06 MB / 0.4959 GB, free: 11.03 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003814/0.1383, allocations: 2.226 MB / 0.4981 GB, free: 8.797 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009733/0.1393, allocations: 475.6 kB / 0.4985 GB, free: 8.332 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.1395, allocations: 23.75 kB / 0.4986 GB, free: 8.309 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.1397, allocations: 67.25 kB / 0.4986 GB, free: 8.242 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.111e-05/0.1398, allocations: 43.56 kB / 0.4987 GB, free: 8.199 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.1404, allocations: 267.5 kB / 0.4989 GB, free: 7.938 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006722/0.1411, allocations: 0.7185 MB / 0.4996 GB, free: 7.215 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.1413, allocations: 57.42 kB / 0.4997 GB, free: 7.148 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004441/0.1417, allocations: 243.2 kB / 0.4999 GB, free: 6.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.142, allocations: 238.8 kB / 0.5001 GB, free: 6.676 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.1421, allocations: 44 kB / 0.5002 GB, free: 6.633 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.715e-05/0.1421, allocations: 48 kB / 0.5002 GB, free: 6.586 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.1423, allocations: 131.5 kB / 0.5004 GB, free: 6.457 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.1424, allocations: 218.9 kB / 0.5006 GB, free: 6.242 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.1429, allocations: 0.5095 MB / 0.5011 GB, free: 5.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.1429, allocations: 8 kB / 0.5011 GB, free: 5.723 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1429, allocations: 0 / 0.5011 GB, free: 5.723 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1429, allocations: 0 / 0.5011 GB, free: 5.723 MB / 362.7 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.001091/0.144, allocations: 0.8162 MB / 0.5019 GB, free: 4.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.144, allocations: 8.031 kB / 0.5019 GB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.967e-05/0.1441, allocations: 90.7 kB / 0.502 GB, free: 4.754 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.768e-05/0.1442, allocations: 72.52 kB / 0.502 GB, free: 4.684 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.1447, allocations: 341.3 kB / 0.5024 GB, free: 4.328 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.1447, allocations: 37.38 kB / 0.5024 GB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-05/0.1448, allocations: 52.33 kB / 0.5024 GB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006776/0.1455, allocations: 0.592 MB / 0.503 GB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.1455, allocations: 11.92 kB / 0.503 GB, free: 3.617 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.1455, allocations: 23.94 kB / 0.5031 GB, free: 3.594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.1455, allocations: 12 kB / 0.5031 GB, free: 3.582 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.146, allocations: 479.1 kB / 0.5035 GB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1475, allocations: 1.2 MB / 0.5047 GB, free: 1.844 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.148, allocations: 302.2 kB / 0.505 GB, free: 1.523 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.1482, allocations: 245 kB / 0.5052 GB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.1482, allocations: 0 / 0.5052 GB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004233/0.1487, allocations: 438.8 kB / 0.5056 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 1.512e-06/0.1487, allocations: 0 / 0.5056 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.001097/0.1498, allocations: 0.9683 MB / 0.5066 GB, free: 15.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002292/0.15, allocations: 223.8 kB / 0.5068 GB, free: 15.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.1503, allocations: 461.6 kB / 0.5072 GB, free: 15.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.1504, allocations: 45.69 kB / 0.5073 GB, free: 15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.1505, allocations: 256.6 kB / 0.5075 GB, free: 14.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.1506, allocations: 150.8 kB / 0.5077 GB, free: 14.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.1507, allocations: 138.3 kB / 0.5078 GB, free: 14.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1508, allocations: 370.7 kB / 0.5082 GB, free: 14.09 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1213:5-1213: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 " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4989253394305706]