Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006823/0.006823, allocations: 171.2 kB / 15.12 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.4 MB / 221.3 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009387/0.0009388, allocations: 98.86 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7551/0.7551, allocations: 90.6 MB / 408.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003266, allocations: 8 kB / 485.3 MB, free: 1.977 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4409, allocations: 66.28 MB / 0.5387 GB, free: 45.72 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement): time 0.05384/0.4948, allocations: 52.08 MB / 0.5895 GB, free: 13.76 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01989/0.5148, allocations: 12.84 MB / 0.6021 GB, free: 4.871 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/0.5176, allocations: 30.31 kB / 0.6021 GB, free: 4.859 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.5201, allocations: 0.6258 MB / 0.6027 GB, free: 4.508 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01577/0.5359, allocations: 3.488 MB / 0.6061 GB, free: 2.703 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01531/0.5512, allocations: 4.216 MB / 0.6102 GB, free: 240 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006136/0.5574, allocations: 1.896 MB / 0.6121 GB, free: 15.06 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.5587, allocations: 418.7 kB / 0.6125 GB, free: 14.89 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01453/0.5732, allocations: 7.149 MB / 0.6195 GB, free: 9.168 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.5757, allocations: 0.8048 MB / 0.6202 GB, free: 8.359 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008646/0.5766, allocations: 72 kB / 0.6203 GB, free: 8.289 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01753/0.5942, allocations: 5.789 MB / 0.626 GB, free: 2.492 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008296/0.5951, allocations: 278.7 kB / 0.6262 GB, free: 2.219 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.5964, allocations: 360.8 kB / 0.6266 GB, free: 1.859 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.6082, allocations: 3.479 MB / 0.63 GB, free: 14.38 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.6083, allocations: 0 / 0.63 GB, free: 14.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.6083, allocations: 0 / 0.63 GB, free: 14.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001442/0.6084, allocations: 0 / 0.63 GB, free: 14.38 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.007724/0.6162, allocations: 2.59 MB / 0.6325 GB, free: 11.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.6162, allocations: 8.031 kB / 0.6325 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006905/0.6169, allocations: 215.9 kB / 0.6327 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/0.6194, allocations: 349.4 kB / 0.6331 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.6216, allocations: 0.7758 MB / 0.6338 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.6218, allocations: 119 kB / 0.6339 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004001/0.6222, allocations: 155.9 kB / 0.6341 GB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005063/0.6273, allocations: 1.635 MB / 0.6357 GB, free: 8.348 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-05/0.6274, allocations: 3.938 kB / 0.6357 GB, free: 8.344 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/0.6276, allocations: 60 kB / 0.6357 GB, free: 8.285 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.77e-05/0.6277, allocations: 47.95 kB / 0.6358 GB, free: 8.238 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004341/0.6321, allocations: 1.214 MB / 0.637 GB, free: 7.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/0.6459, allocations: 7.515 MB / 0.6443 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003878/0.6498, allocations: 1.281 MB / 0.6455 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002593/0.6525, allocations: 2.244 MB / 0.6477 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/0.6526, allocations: 43.88 kB / 0.6478 GB, free: 10.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=141): time 6.692e-06/0.6526, allocations: 0 / 0.6478 GB, free: 10.93 MB / 474.7 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:265:5-265:157:writable] Error: Derivative of expression "ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.fore.Medium.ThermodynamicState(conductionElement1.rear.state_forwards.T, boundary_fore1.rear.state_forwards.p) = if not boundary_rear1.setEnthalpy then ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.Medium.ThermodynamicState(boundary_rear1.T0, boundary_rear1.p0) else ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.Medium.ThermodynamicState(ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.Medium.T_ph(boundary_rear1.p0, boundary_rear1.h0), boundary_rear1.p0)" w.r.t. "time" is non-existent. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/Boundaries/BoundaryRear.mo:71:3-71:115:writable] Error: Internal error Differentiate.differentiateEquationTime failed for ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.fore.Medium.ThermodynamicState(conductionElement1.rear.state_forwards.T, boundary_fore1.rear.state_forwards.p) = if not boundary_rear1.setEnthalpy then ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.Medium.ThermodynamicState(boundary_rear1.T0, boundary_rear1.p0) else ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.Medium.ThermodynamicState(ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.Medium.T_ph(boundary_rear1.p0, boundary_rear1.h0), boundary_rear1.p0) Error: Internal error - IndexReduction.pantelidesIndexReduction1 failed! Use -d=bltdump to get more information. Error: Internal error - IndexReduction.pantelidesIndexReduction failed! Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!