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.001012/0.001013, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007849/0.007849, allocations: 170 kB / 16.26 MB, free: 6.613 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.52/2.52, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003217, allocations: 15.19 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2474, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.8137/1.061, allocations: 372.9 MB / 1.423 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.06037/1.121, allocations: 46.31 MB / 1.468 GB, free: 8.879 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008563/1.13, allocations: 151.1 kB / 1.468 GB, free: 8.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01729/1.147, allocations: 8.118 MB / 1.476 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.02025/1.168, allocations: 6.871 MB / 1.483 GB, free: 9.695 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.009764/1.177, allocations: 3.504 MB / 1.486 GB, free: 6.219 MB / 1.076 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080: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:1080:9-1080: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.02789/1.205, allocations: 21.38 MB / 1.507 GB, free: 0.793 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007074/1.212, allocations: 4.597 MB / 1.512 GB, free: 12.12 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01172/1.224, allocations: 5.314 MB / 1.517 GB, free: 6.789 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00724/1.232, allocations: 3.531 MB / 1.52 GB, free: 3.254 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001062/1.233, allocations: 172 kB / 1.521 GB, free: 3.086 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01382/1.246, allocations: 7.045 MB / 1.527 GB, free: 12.02 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002839/1.249, allocations: 1.612 MB / 1.529 GB, free: 10.41 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.004376/1.254, allocations: 2.706 MB / 1.532 GB, free: 7.68 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01598/1.27, allocations: 10.18 MB / 1.542 GB, free: 13.47 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.27, allocations: 0 / 1.542 GB, free: 13.47 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.727e-06/1.27, allocations: 0 / 1.542 GB, free: 13.47 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001742/1.27, allocations: 3.938 kB / 1.542 GB, free: 13.46 MB / 1.139 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.01025/1.28, allocations: 5.38 MB / 1.547 GB, free: 7.977 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.28, allocations: 12.03 kB / 1.547 GB, free: 7.965 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008769/1.281, allocations: 476 kB / 1.547 GB, free: 7.488 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/1.293, allocations: 2.127 MB / 1.549 GB, free: 5.352 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/1.303, allocations: 5.624 MB / 1.555 GB, free: 15.64 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001486/1.305, allocations: 0.6379 MB / 1.555 GB, free: 14.98 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006987/1.306, allocations: 351.9 kB / 1.556 GB, free: 14.64 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008509/1.314, allocations: 4.588 MB / 1.56 GB, free: 9.949 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.945e-05/1.314, allocations: 0 / 1.56 GB, free: 9.949 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/1.315, allocations: 140 kB / 1.56 GB, free: 9.812 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/1.315, allocations: 138.5 kB / 1.561 GB, free: 9.676 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008955/1.324, allocations: 4.132 MB / 1.565 GB, free: 5.535 MB / 1.154 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.02632/1.35, allocations: 19.38 MB / 1.584 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003768/1.354, allocations: 1.81 MB / 1.585 GB, free: 14.91 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00202/1.356, allocations: 0.9372 MB / 1.586 GB, free: 13.97 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/1.356, allocations: 417.7 kB / 1.587 GB, free: 13.49 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002288/1.359, allocations: 1.095 MB / 1.588 GB, free: 12.38 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00147/1.36, allocations: 173.7 kB / 1.588 GB, free: 12.2 MB / 1.186 GB Notification: Performance of pre-optimization done (n=131): time 2.435e-06/1.36, allocations: 0 / 1.588 GB, free: 12.2 MB / 1.186 GB Notification: Performance of matching and sorting (n=131): time 0.007184/1.367, allocations: 3.001 MB / 1.591 GB, free: 9.168 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/1.367, allocations: 141.8 kB / 1.591 GB, free: 9 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00542/1.373, allocations: 4.54 MB / 1.595 GB, free: 4.469 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/1.373, allocations: 61.64 kB / 1.595 GB, free: 4.402 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001752/1.375, allocations: 2.429 MB / 1.598 GB, free: 1.953 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/1.375, allocations: 481.4 kB / 1.598 GB, free: 1.477 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/1.375, allocations: 316.6 kB / 1.599 GB, free: 1.16 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/1.376, allocations: 305.1 kB / 1.599 GB, free: 0.8594 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002932/1.379, allocations: 1.411 MB / 1.6 GB, free: 15.44 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003584/1.382, allocations: 2.56 MB / 1.603 GB, free: 12.38 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005886/1.388, allocations: 3.762 MB / 1.606 GB, free: 8.152 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/1.388, allocations: 8 kB / 1.606 GB, free: 8.145 MB / 1.201 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.007779/1.396, allocations: 4.368 MB / 1.611 GB, free: 3.762 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005671/1.396, allocations: 1.098 MB / 1.612 GB, free: 2.199 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/1.396, allocations: 32 kB / 1.612 GB, free: 2.168 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-05/1.396, allocations: 48 kB / 1.612 GB, free: 2.121 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/1.399, allocations: 0.7449 MB / 1.613 GB, free: 1.375 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.278e-05/1.399, allocations: 75.72 kB / 1.613 GB, free: 1.301 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004215/1.404, allocations: 0.6699 MB / 1.613 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/1.404, allocations: 144 kB / 1.613 GB, free: 500 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.628e-06/1.404, allocations: 8 kB / 1.613 GB, free: 492 kB / 1.201 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007119/1.411, allocations: 3.951 MB / 1.617 GB, free: 12.53 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/1.411, allocations: 32 kB / 1.617 GB, free: 12.5 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.044e-05/1.411, allocations: 51.94 kB / 1.617 GB, free: 12.45 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/1.414, allocations: 0.7495 MB / 1.618 GB, free: 11.7 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-05/1.414, allocations: 71.77 kB / 1.618 GB, free: 11.62 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003416/1.417, allocations: 0.5494 MB / 1.619 GB, free: 11.07 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/1.417, allocations: 140 kB / 1.619 GB, free: 10.94 MB / 1.217 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.001937/1.419, allocations: 1.395 MB / 1.62 GB, free: 9.531 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/1.42, allocations: 434.4 kB / 1.621 GB, free: 9.102 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005102/1.425, allocations: 2.381 MB / 1.623 GB, free: 6.695 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/1.425, allocations: 12 kB / 1.623 GB, free: 6.684 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/1.425, allocations: 4 kB / 1.623 GB, free: 6.68 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004038/1.429, allocations: 1.968 MB / 1.625 GB, free: 4.621 MB / 1.217 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.0114/1.44, allocations: 6.954 MB / 1.632 GB, free: 13.4 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.44, allocations: 12 kB / 1.632 GB, free: 13.39 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/1.442, allocations: 344.1 kB / 1.632 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001881/1.442, allocations: 52.83 kB / 1.632 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.597e-05/1.442, allocations: 47.98 kB / 1.632 GB, free: 12.95 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/1.443, allocations: 1.441 MB / 1.633 GB, free: 11.37 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.443, allocations: 15.94 kB / 1.633 GB, free: 11.36 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006609/1.45, allocations: 3.472 MB / 1.637 GB, free: 7.715 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/1.451, allocations: 0.7063 MB / 1.638 GB, free: 6.984 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004174/1.451, allocations: 43.92 kB / 1.638 GB, free: 6.941 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002688/1.454, allocations: 347.5 kB / 1.638 GB, free: 6.602 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/1.454, allocations: 128.6 kB / 1.638 GB, free: 6.477 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/1.454, allocations: 63.95 kB / 1.638 GB, free: 6.414 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003906/1.458, allocations: 3.039 MB / 1.641 GB, free: 3.391 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.71e-07/1.458, allocations: 0 / 1.641 GB, free: 3.391 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004635/1.463, allocations: 2.333 MB / 1.643 GB, free: 1.051 MB / 1.232 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.007873/1.471, allocations: 4.553 MB / 1.648 GB, free: 12.34 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.009254/1.48, allocations: 4.992 MB / 1.653 GB, free: 7.332 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.48, allocations: 0 / 1.653 GB, free: 7.332 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002356/1.482, allocations: 1.096 MB / 1.654 GB, free: 6.227 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01485/1.497, allocations: 1.987 MB / 1.656 GB, free: 4.27 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07213/1.569, allocations: 41.77 MB / 1.697 GB, free: 6.871 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00292/1.572, allocations: 3.019 MB / 1.699 GB, free: 3.828 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005176/1.578, allocations: 1.308 MB / 1.701 GB, free: 2.516 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00263/1.58, allocations: 2.1 MB / 1.703 GB, free: 424 kB / 1.295 GB Notification: Performance of SimCode: time 9.72e-07/1.58, allocations: 0 / 1.703 GB, free: 424 kB / 1.295 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).