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.005598/0.005598, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001132/0.001133, allocations: 193.5 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.392/1.392, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05816/0.05816, allocations: 10.75 MB / 280.7 MB, free: 10.4 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.001394/0.001394, allocations: 71.84 kB / 390.4 MB, free: 5.504 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2645, allocations: 49.02 MB / 439.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.002885/0.2674, allocations: 2.335 MB / 441.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000834/0.2683, allocations: 495.7 kB / 442.2 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.2684, allocations: 13.31 kB / 442.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.2686, allocations: 69.91 kB / 442.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.2687, allocations: 36.67 kB / 442.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.2692, allocations: 241.8 kB / 442.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006154/0.2698, allocations: 0.72 MB / 443.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.2699, allocations: 86.31 kB / 443.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.2701, allocations: 230.9 kB / 443.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.2704, allocations: 249.7 kB / 443.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.488e-05/0.2705, allocations: 46.69 kB / 443.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.319e-05/0.2706, allocations: 45.5 kB / 443.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.2707, allocations: 127.8 kB / 444 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.271, allocations: 278 kB / 444.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.2715, allocations: 0.5114 MB / 444.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2715, allocations: 2.172 kB / 444.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2715, allocations: 0 / 444.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.2715, allocations: 3.938 kB / 444.8 MB, free: 1.793 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.001109/0.2726, allocations: 0.8958 MB / 445.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2727, allocations: 12.77 kB / 445.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.155e-05/0.2728, allocations: 87.88 kB / 445.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.2729, allocations: 72.69 kB / 445.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.2734, allocations: 408.6 kB / 446.3 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.2734, allocations: 34.62 kB / 446.3 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-05/0.2735, allocations: 54.31 kB / 446.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008668/0.2744, allocations: 0.5013 MB / 446.9 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.2744, allocations: 5.469 kB / 446.9 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/0.2745, allocations: 23.19 kB / 446.9 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.2745, allocations: 12.19 kB / 446.9 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006968/0.2752, allocations: 382.1 kB / 447.3 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.2773, allocations: 1.329 MB / 448.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/0.2781, allocations: 0.5176 MB / 449.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005116/0.2786, allocations: 484.5 kB / 449.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.2786, allocations: 1.812 kB / 449.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005351/0.2792, allocations: 347.2 kB / 449.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 1.603e-06/0.2792, allocations: 0 / 449.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.001576/0.2808, allocations: 0.8157 MB / 450.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.2809, allocations: 221.5 kB / 451 MB, free: 13.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.2814, allocations: 457.6 kB / 451.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.2814, allocations: 40.58 kB / 451.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.2816, allocations: 262.6 kB / 451.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.2817, allocations: 148.8 kB / 451.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.2819, allocations: 133.2 kB / 452 MB, free: 12.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.282, allocations: 376.5 kB / 452.4 MB, free: 12.61 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