Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_substation_001.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Devel_test_models.Test_substation_001,fileNamePrefix="AES_AES_Devel_test_models_Test_substation_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_substation_001,fileNamePrefix="AES_AES_Devel_test_models_Test_substation_001",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.005345/0.005345, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001236/0.001236, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2653/0.2653, allocations: 22.34 MB / 312.9 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 70.98 kB / 436.6 MB, free: 34.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1293, allocations: 54.97 MB / 491.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.01727/0.1466, allocations: 11.56 MB / 0.4913 GB, free: 6.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.1569, allocations: 3.168 MB / 0.4944 GB, free: 2.918 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003058/0.16, allocations: 63.62 kB / 0.4945 GB, free: 2.855 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.1623, allocations: 0.519 MB / 0.495 GB, free: 2.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005854/0.1682, allocations: 1.304 MB / 0.4963 GB, free: 1.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003748/0.172, allocations: 0.9207 MB / 0.4972 GB, free: 100 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01096/0.183, allocations: 6.107 MB / 0.5031 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.1932, allocations: 4.723 MB / 0.5077 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006462/0.1997, allocations: 2.478 MB / 0.5102 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006796/0.2065, allocations: 2.753 MB / 0.5128 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002624/0.2092, allocations: 0.7227 MB / 0.5135 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/0.2122, allocations: 0.7266 MB / 0.5143 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003539/0.2158, allocations: 1.879 MB / 0.5161 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006261/0.2221, allocations: 2.716 MB / 0.5187 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.2328, allocations: 8.076 MB / 0.5266 GB, free: 1.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.2329, allocations: 0 / 0.5266 GB, free: 1.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2329, allocations: 0 / 0.5266 GB, free: 1.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002786/0.2332, allocations: 0 / 0.5266 GB, free: 1.789 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01836/0.2515, allocations: 4.83 MB / 0.5313 GB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.2516, allocations: 8.031 kB / 0.5314 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00182/0.2534, allocations: 463.8 kB / 0.5318 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.2553, allocations: 416.1 kB / 0.5322 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005858/0.2612, allocations: 2.382 MB / 0.5345 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003354/0.2616, allocations: 276.9 kB / 0.5348 GB, free: 9.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001422/0.263, allocations: 368 kB / 0.5351 GB, free: 8.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.2751, allocations: 4.364 MB / 0.5394 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.2753, allocations: 0 / 0.5394 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/0.2764, allocations: 136 kB / 0.5395 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.652e-05/0.2765, allocations: 84 kB / 0.5396 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009134/0.2856, allocations: 3.993 MB / 0.5435 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03809/0.3238, allocations: 20.09 MB / 0.5631 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.3366, allocations: 5.59 MB / 0.5686 GB, free: 5.363 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003732/0.3404, allocations: 2.173 MB / 0.5707 GB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/0.3406, allocations: 42.22 kB / 0.5707 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.3407, allocations: 72.73 kB / 0.5708 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001514/0.3422, allocations: 246 kB / 0.5711 GB, free: 2.816 MB / 446.1 MB Notification: Performance of pre-optimization done (n=277): time 7.153e-06/0.3422, allocations: 8 kB / 0.5711 GB, free: 2.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=279): time 0.03054/0.3727, allocations: 16.93 MB / 0.5876 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.3728, allocations: 77.61 kB / 0.5877 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2451/0.618, allocations: 1.708 MB / 0.5893 GB, free: 98.37 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007484/0.6188, allocations: 72.77 kB / 0.5894 GB, free: 98.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007179/0.6195, allocations: 1.291 MB / 0.5907 GB, free: 98.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/0.6205, allocations: 1.053 MB / 0.5917 GB, free: 97.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008887/0.6214, allocations: 0.511 MB / 0.5922 GB, free: 97.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.542e-05/0.6215, allocations: 304.9 kB / 0.5925 GB, free: 97.08 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002811/0.6243, allocations: 2.18 MB / 0.5946 GB, free: 96.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002913/0.6272, allocations: 2.307 MB / 0.5969 GB, free: 95.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04172/0.6689, allocations: 12.03 MB / 0.6086 GB, free: 91.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.669, allocations: 4 kB / 0.6086 GB, free: 91.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01131/0.6803, allocations: 6.529 MB / 0.615 GB, free: 86.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.6804, allocations: 7.938 kB / 0.615 GB, free: 86.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.6804, allocations: 4 kB / 0.615 GB, free: 86.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004841/0.6853, allocations: 1.874 MB / 0.6168 GB, free: 84.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/0.6892, allocations: 0.7959 MB / 0.6176 GB, free: 83.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03717/0.7263, allocations: 76.35 MB / 0.6922 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/0.7293, allocations: 135.8 kB / 0.6923 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004379/0.7298, allocations: 112 kB / 0.6924 GB, free: 384 kB / 462.1 MB Warning: Assuming fixed start value for the following 6 variables: HC.H.Ec:VARIABLE(flow=false fixed = true ) type: Real HC.H.Tfo:VARIABLE(min = 0.0 start = HC.H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real HC.H.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real ss1.HE.Tho:VARIABLE(min = 0.0 start = 371.95 unit = "K" fixed = true nominal = 300.0 ) type: Real ss1.HE.Tco:VARIABLE(min = 0.0 start = 323.15 unit = "K" fixed = true nominal = 300.0 ) type: Real clo.tubeC.fluidStream.w:VARIABLE(unit = "kg/s" fixed = true ) type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1212:5-1212:82:writable] Error: Internal error Initialization.preBalanceInitialSystem2 failed because variable $DER.clo.tubeC.fluidStream.w:VARIABLE(unit = "kg/s" ) type: Real does not appear in any equation in the lambda 0 initial system and is not fixable. Error: No system for the symbolic initialization was generated