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.001724/0.001724, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.445/1.445, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06034/0.06034, allocations: 10.74 MB / 280.5 MB, free: 10.5 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.001425/0.001425, allocations: 68.47 kB / 340.7 MB, free: 23.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1091, allocations: 49.01 MB / 389.7 MB, free: 6.156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.004512/0.1137, allocations: 2.331 MB / 392 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1148, allocations: 491.6 kB / 392.5 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.115, allocations: 11.88 kB / 392.5 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.1152, allocations: 63.28 kB / 392.6 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.1153, allocations: 39.55 kB / 392.6 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.1159, allocations: 247.5 kB / 392.8 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007464/0.1167, allocations: 0.7187 MB / 393.6 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.1169, allocations: 85.55 kB / 393.6 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.1171, allocations: 235.3 kB / 393.9 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.1175, allocations: 250.8 kB / 394.1 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.859e-05/0.1176, allocations: 48 kB / 394.2 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.182e-05/0.1176, allocations: 44 kB / 394.2 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.1178, allocations: 127.6 kB / 394.3 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.1181, allocations: 270.5 kB / 394.6 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005242/0.1187, allocations: 0.4944 MB / 395.1 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1187, allocations: 0 / 395.1 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1187, allocations: 4 kB / 395.1 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.1187, allocations: 0 / 395.1 MB, free: 0.6992 MB / 286.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.001391/0.1201, allocations: 0.8802 MB / 396 MB, free: 15.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1201, allocations: 15.89 kB / 396 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.1202, allocations: 86.72 kB / 396.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.1204, allocations: 64.28 kB / 396.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.1209, allocations: 396.1 kB / 396.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.1209, allocations: 37.38 kB / 396.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.121, allocations: 48.38 kB / 396.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000838/0.1218, allocations: 0.5028 MB / 397.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.287e-05/0.1219, allocations: 3.938 kB / 397.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.122, allocations: 24 kB / 397.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.122, allocations: 8 kB / 397.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006755/0.1227, allocations: 383.8 kB / 397.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.125, allocations: 1.343 MB / 398.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008071/0.1259, allocations: 0.5107 MB / 399.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/0.1264, allocations: 485.8 kB / 399.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.1264, allocations: 3.906 kB / 399.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005214/0.127, allocations: 347.4 kB / 400.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 1.663e-06/0.127, allocations: 0 / 400.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.001544/0.1285, allocations: 0.8131 MB / 401 MB, free: 10.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.1287, allocations: 223.9 kB / 401.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.1291, allocations: 457.6 kB / 401.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.1292, allocations: 37.7 kB / 401.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.1294, allocations: 264 kB / 402 MB, free: 9.516 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.1295, allocations: 146.1 kB / 402.1 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.1296, allocations: 130.1 kB / 402.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1298, allocations: 378.7 kB / 402.6 MB, free: 8.859 MB / 302.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1211:5-1211: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