Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",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.001114/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001006/0.001006, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.261/1.261, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.494/2.494, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 70.12 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2565, allocations: 157.4 MB / 1.052 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.769/1.025, allocations: 378.2 MB / 1.422 GB, free: 5.035 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.05329/1.079, allocations: 46.85 MB / 1.467 GB, free: 12.76 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005279/1.084, allocations: 155.1 kB / 1.467 GB, free: 12.61 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01533/1.1, allocations: 8.151 MB / 1.475 GB, free: 4.438 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01595/1.115, allocations: 6.866 MB / 1.482 GB, free: 13.55 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007668/1.123, allocations: 3.488 MB / 1.486 GB, free: 10.09 MB / 1.092 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.108}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0108}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02251/1.146, allocations: 21.39 MB / 1.506 GB, free: 4.652 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005613/1.151, allocations: 4.818 MB / 1.511 GB, free: 15.75 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009854/1.161, allocations: 5.568 MB / 1.517 GB, free: 10.16 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00526/1.166, allocations: 3.838 MB / 1.52 GB, free: 6.32 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005549/1.167, allocations: 276 kB / 1.521 GB, free: 6.051 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01194/1.179, allocations: 7.135 MB / 1.528 GB, free: 14.9 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.002089/1.181, allocations: 1.775 MB / 1.529 GB, free: 13.12 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003448/1.185, allocations: 2.876 MB / 1.532 GB, free: 10.23 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0124/1.197, allocations: 10.41 MB / 1.542 GB, free: 15.79 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.197, allocations: 0 / 1.542 GB, free: 15.79 MB / 1.154 GB Notification: Performance of FrontEnd: time 8.12e-07/1.197, allocations: 0 / 1.542 GB, free: 15.79 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.943e-05/1.197, allocations: 4 kB / 1.542 GB, free: 15.78 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.009851/1.207, allocations: 6.457 MB / 1.549 GB, free: 9.211 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/1.207, allocations: 16.02 kB / 1.549 GB, free: 9.195 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005367/1.207, allocations: 472.1 kB / 1.549 GB, free: 8.723 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/1.219, allocations: 2.014 MB / 1.551 GB, free: 6.699 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00863/1.228, allocations: 5.616 MB / 1.556 GB, free: 1.004 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00142/1.229, allocations: 0.5988 MB / 1.557 GB, free: 388 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004751/1.23, allocations: 344 kB / 1.557 GB, free: 44 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008157/1.238, allocations: 4.535 MB / 1.562 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.443e-05/1.238, allocations: 7.938 kB / 1.562 GB, free: 11.4 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/1.238, allocations: 144 kB / 1.562 GB, free: 11.26 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/1.238, allocations: 142.5 kB / 1.562 GB, free: 11.12 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008503/1.247, allocations: 4.042 MB / 1.566 GB, free: 7.066 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02512/1.272, allocations: 19.29 MB / 1.585 GB, free: 2.387 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003835/1.276, allocations: 1.803 MB / 1.587 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/1.278, allocations: 0.9333 MB / 1.588 GB, free: 15.6 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006342/1.279, allocations: 409.6 kB / 1.588 GB, free: 15.13 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002346/1.281, allocations: 1.087 MB / 1.589 GB, free: 14.02 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001246/1.282, allocations: 173.7 kB / 1.589 GB, free: 13.84 MB / 1.201 GB Notification: Performance of pre-optimization done (n=131): time 2.886e-06/1.282, allocations: 4 kB / 1.589 GB, free: 13.84 MB / 1.201 GB Notification: Performance of matching and sorting (n=131): time 0.0073/1.289, allocations: 2.978 MB / 1.592 GB, free: 10.83 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/1.29, allocations: 145.8 kB / 1.592 GB, free: 10.66 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005581/1.295, allocations: 4.54 MB / 1.597 GB, free: 6.129 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/1.295, allocations: 57.7 kB / 1.597 GB, free: 6.066 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001915/1.297, allocations: 2.429 MB / 1.599 GB, free: 3.617 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004117/1.298, allocations: 481.4 kB / 1.6 GB, free: 3.141 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009172/1.299, allocations: 0.682 MB / 1.6 GB, free: 2.449 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/1.299, allocations: 301.1 kB / 1.6 GB, free: 2.152 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002906/1.302, allocations: 1.421 MB / 1.602 GB, free: 0.7227 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003673/1.305, allocations: 2.553 MB / 1.604 GB, free: 13.66 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005849/1.311, allocations: 3.758 MB / 1.608 GB, free: 9.445 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/1.311, allocations: 16 kB / 1.608 GB, free: 9.43 MB / 1.217 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.007858/1.319, allocations: 4.353 MB / 1.612 GB, free: 5.055 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/1.319, allocations: 45.7 kB / 1.612 GB, free: 5.004 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/1.319, allocations: 35.98 kB / 1.612 GB, free: 4.969 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.705e-05/1.319, allocations: 48 kB / 1.612 GB, free: 4.922 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/1.322, allocations: 0.7411 MB / 1.613 GB, free: 4.18 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.957e-05/1.322, allocations: 75.72 kB / 1.613 GB, free: 4.105 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/1.326, allocations: 0.6562 MB / 1.614 GB, free: 3.449 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/1.326, allocations: 148 kB / 1.614 GB, free: 3.305 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004411/1.331, allocations: 2.567 MB / 1.617 GB, free: 0.7305 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003674/1.334, allocations: 2.556 MB / 1.619 GB, free: 13.67 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005715/1.34, allocations: 3.749 MB / 1.623 GB, free: 9.453 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.468e-05/1.34, allocations: 12 kB / 1.623 GB, free: 9.441 MB / 1.232 GB Notification: Performance of matching and sorting (n=424) (initialization_lambda0): time 0.007641/1.348, allocations: 4.349 MB / 1.627 GB, free: 5.074 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/1.348, allocations: 49.64 kB / 1.627 GB, free: 5.02 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/1.348, allocations: 32.72 kB / 1.627 GB, free: 4.988 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.876e-05/1.348, allocations: 52 kB / 1.627 GB, free: 4.938 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/1.351, allocations: 0.741 MB / 1.628 GB, free: 4.195 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.945e-05/1.351, allocations: 71.72 kB / 1.628 GB, free: 4.125 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/1.355, allocations: 0.6023 MB / 1.628 GB, free: 3.523 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/1.355, allocations: 147.9 kB / 1.629 GB, free: 3.379 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (356): * Single equations (assignments): 350 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005154/1.355, allocations: 367.2 kB / 1.629 GB, free: 3.012 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005112/1.356, allocations: 430.4 kB / 1.629 GB, free: 2.586 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005208/1.361, allocations: 2.369 MB / 1.632 GB, free: 192 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/1.361, allocations: 12 kB / 1.632 GB, free: 180 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/1.361, allocations: 0 / 1.632 GB, free: 180 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004046/1.365, allocations: 1.968 MB / 1.634 GB, free: 14.12 MB / 1.248 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/1.377, allocations: 6.926 MB / 1.64 GB, free: 6.93 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.377, allocations: 12 kB / 1.64 GB, free: 6.918 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/1.379, allocations: 332.2 kB / 1.641 GB, free: 6.594 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002131/1.379, allocations: 60.81 kB / 1.641 GB, free: 6.531 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/1.379, allocations: 43.98 kB / 1.641 GB, free: 6.488 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/1.38, allocations: 1.44 MB / 1.642 GB, free: 4.918 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/1.38, allocations: 15.94 kB / 1.642 GB, free: 4.902 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006727/1.387, allocations: 3.444 MB / 1.646 GB, free: 1.285 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.388, allocations: 0.714 MB / 1.646 GB, free: 0.5469 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004715/1.389, allocations: 39.98 kB / 1.646 GB, free: 0.5078 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00271/1.392, allocations: 346 kB / 1.647 GB, free: 176 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/1.392, allocations: 120.6 kB / 1.647 GB, free: 56 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.392, allocations: 68.02 kB / 1.647 GB, free: 15.98 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.004085/1.396, allocations: 3.039 MB / 1.65 GB, free: 12.96 MB / 1.264 GB Notification: Performance of sort global known variables: time 3.71e-07/1.396, allocations: 4 kB / 1.65 GB, free: 12.96 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.005112/1.401, allocations: 2.33 MB / 1.652 GB, free: 10.62 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008165/1.409, allocations: 4.544 MB / 1.656 GB, free: 5.914 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.009478/1.419, allocations: 4.978 MB / 1.661 GB, free: 0.9297 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.419, allocations: 0 / 1.661 GB, free: 0.9297 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002399/1.421, allocations: 1.089 MB / 1.662 GB, free: 15.83 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007161/1.428, allocations: 1.98 MB / 1.664 GB, free: 13.87 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07053/1.499, allocations: 41.66 MB / 1.705 GB, free: 0.5859 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/1.502, allocations: 3.023 MB / 1.708 GB, free: 13.53 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.005143/1.507, allocations: 1.307 MB / 1.709 GB, free: 12.21 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002465/1.509, allocations: 2.104 MB / 1.711 GB, free: 10.11 MB / 1.326 GB Notification: Performance of SimCode: time 6.61e-07/1.509, allocations: 0 / 1.711 GB, free: 10.11 MB / 1.326 GB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).