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.001318/0.001318, 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.001775/0.001775, allocations: 194.6 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.782/2.782, allocations: 205.1 MB / 222.4 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.093/0.093, allocations: 10.74 MB / 280.5 MB, free: 10.51 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.002494/0.002495, allocations: 71.89 kB / 340.7 MB, free: 23.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2073, allocations: 49.01 MB / 389.7 MB, free: 6.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.009063/0.2164, allocations: 2.339 MB / 392 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.2192, allocations: 495.5 kB / 392.5 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007737/0.2201, allocations: 11.88 kB / 392.5 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005967/0.2208, allocations: 67.33 kB / 392.6 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005762/0.2214, allocations: 43.48 kB / 392.6 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.2229, allocations: 231.6 kB / 392.8 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002082/0.2251, allocations: 0.7265 MB / 393.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.2256, allocations: 81.56 kB / 393.6 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007702/0.2264, allocations: 235.3 kB / 393.9 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008506/0.2273, allocations: 242.9 kB / 394.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003278/0.2276, allocations: 44 kB / 394.1 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.2279, allocations: 48 kB / 394.2 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.2283, allocations: 131.6 kB / 394.3 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007817/0.2291, allocations: 270.5 kB / 394.6 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.2305, allocations: 0.5021 MB / 395.1 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.2305, allocations: 4 kB / 395.1 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.2305, allocations: 0 / 395.1 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.646e-05/0.2306, allocations: 0 / 395.1 MB, free: 0.6758 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.003637/0.2342, allocations: 0.8724 MB / 396 MB, free: 15.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.917e-05/0.2344, allocations: 19.89 kB / 396 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003053/0.2347, allocations: 94.64 kB / 396.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.235, allocations: 64.28 kB / 396.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.2362, allocations: 392.2 kB / 396.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.936e-05/0.2363, allocations: 33.38 kB / 396.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.2364, allocations: 48.38 kB / 396.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.2383, allocations: 0.5027 MB / 397.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.747e-05/0.2384, allocations: 11.92 kB / 397.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.704e-05/0.2385, allocations: 20 kB / 397.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.2385, allocations: 12 kB / 397.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.2398, allocations: 379.8 kB / 397.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004761/0.2445, allocations: 1.331 MB / 398.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.2463, allocations: 0.5224 MB / 399.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.2475, allocations: 473.8 kB / 399.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.2476, allocations: 7.906 kB / 399.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/0.2488, allocations: 355.3 kB / 400.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 7.083e-06/0.2488, allocations: 0 / 400.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.002934/0.2518, allocations: 0.8131 MB / 401 MB, free: 10.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002672/0.2521, allocations: 219.9 kB / 401.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.2533, allocations: 457.6 kB / 401.7 MB, free: 9.801 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.378e-05/0.2534, allocations: 37.7 kB / 401.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.2539, allocations: 264 kB / 402 MB, free: 9.496 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.2541, allocations: 142.1 kB / 402.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003311/0.2545, allocations: 134.1 kB / 402.2 MB, free: 9.219 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003468/0.2549, allocations: 378.7 kB / 402.6 MB, free: 8.84 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