Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.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.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_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.01108/0.01108, allocations: 170.8 kB / 15.12 MB, free: 6.031 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.661/1.661, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0009871/0.0009873, allocations: 86.88 kB / 269.6 MB, free: 13.35 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.9571/0.9571, allocations: 90.59 MB / 408.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 8 kB / 485.3 MB, free: 1.984 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5019, allocations: 66.27 MB / 0.5387 GB, free: 45.5 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.04846/0.5504, allocations: 47.98 MB / 0.5855 GB, free: 16.52 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02037/0.5708, allocations: 12.31 MB / 0.5975 GB, free: 7.996 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002584/0.5735, allocations: 17.69 kB / 0.5976 GB, free: 7.992 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002662/0.5762, allocations: 0.5623 MB / 0.5981 GB, free: 7.68 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01248/0.5887, allocations: 2.955 MB / 0.601 GB, free: 6.289 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00682/0.5955, allocations: 1.724 MB / 0.6027 GB, free: 5.535 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004374/0.5999, allocations: 1.298 MB / 0.6039 GB, free: 4.84 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008617/0.6008, allocations: 399.5 kB / 0.6043 GB, free: 4.699 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007815/0.6086, allocations: 3.372 MB / 0.6076 GB, free: 3.418 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.6099, allocations: 0.6256 MB / 0.6082 GB, free: 3.043 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.6101, allocations: 57.25 kB / 0.6083 GB, free: 3.043 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01311/0.6232, allocations: 5.34 MB / 0.6135 GB, free: 15.21 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005722/0.6238, allocations: 227.1 kB / 0.6137 GB, free: 14.99 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009377/0.6247, allocations: 281 kB / 0.614 GB, free: 14.71 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006963/0.6317, allocations: 2.352 MB / 0.6163 GB, free: 12.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.6317, allocations: 0 / 0.6163 GB, free: 12.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.6318, allocations: 0 / 0.6163 GB, free: 12.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.6318, allocations: 4 kB / 0.6163 GB, free: 12.36 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.005133/0.6369, allocations: 1.934 MB / 0.6182 GB, free: 10.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.637, allocations: 12.03 kB / 0.6182 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000261/0.6373, allocations: 178.9 kB / 0.6183 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.6387, allocations: 246.9 kB / 0.6186 GB, free: 9.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.64, allocations: 0.6471 MB / 0.6192 GB, free: 9.238 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.6401, allocations: 90.16 kB / 0.6193 GB, free: 9.148 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.6403, allocations: 123.8 kB / 0.6194 GB, free: 9.027 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/0.6431, allocations: 1.303 MB / 0.6207 GB, free: 7.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.6432, allocations: 0.7031 kB / 0.6207 GB, free: 7.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.6433, allocations: 48 kB / 0.6207 GB, free: 7.633 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.289e-05/0.6434, allocations: 50.23 kB / 0.6208 GB, free: 7.582 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002482/0.6459, allocations: 1.11 MB / 0.6219 GB, free: 6.465 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007978/0.6539, allocations: 5.233 MB / 0.627 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.6563, allocations: 1.233 MB / 0.6282 GB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002086/0.6584, allocations: 2.372 MB / 0.6305 GB, free: 12.67 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.6585, allocations: 51.52 kB / 0.6306 GB, free: 12.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=106): time 5.09e-06/0.6585, allocations: 0 / 0.6306 GB, free: 12.61 MB / 458.7 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:265:5-265:157:writable] Error: Derivative of expression "ThermofluidStream.Processes.Tests.ConductionElement.source2.outlet.Medium.ThermodynamicState(conductionElement4.inlet.state.T, conductionElement4.p_in) = if not source2.setEnthalpy then ThermofluidStream.Processes.Tests.ConductionElement.source2.Medium.ThermodynamicState(source2.T0, source2.p0) else ThermofluidStream.Processes.Tests.ConductionElement.source2.Medium.ThermodynamicState(ThermofluidStream.Processes.Tests.ConductionElement.source2.Medium.T_ph(source2.p0, source2.h0), source2.p0)" w.r.t. "time" is non-existent. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Boundaries/Source.mo:66:3-66:111:writable] Error: Internal error Differentiate.differentiateEquationTime failed for ThermofluidStream.Processes.Tests.ConductionElement.source2.outlet.Medium.ThermodynamicState(conductionElement4.inlet.state.T, conductionElement4.p_in) = if not source2.setEnthalpy then ThermofluidStream.Processes.Tests.ConductionElement.source2.Medium.ThermodynamicState(source2.T0, source2.p0) else ThermofluidStream.Processes.Tests.ConductionElement.source2.Medium.ThermodynamicState(ThermofluidStream.Processes.Tests.ConductionElement.source2.Medium.T_ph(source2.p0, source2.h0), source2.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!