Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_10_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.001497/0.001497, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001768/0.001768, allocations: 189.1 kB / 16.25 MB, free: 6.633 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.415/2.415, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 63.89 kB / 0.8689 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5421/0.5442, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7535/1.298, allocations: 375.9 MB / 1.384 GB, free: 204 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04541/1.343, allocations: 46.18 MB / 1.429 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004683/1.348, allocations: 158.9 kB / 1.429 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01359/1.362, allocations: 8.478 MB / 1.438 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01501/1.377, allocations: 6.866 MB / 1.444 GB, free: 8.645 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007615/1.384, allocations: 3.548 MB / 1.448 GB, free: 5.512 MB / 1.029 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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:1089:9-1089: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.01847/1.403, allocations: 17.5 MB / 1.465 GB, free: 3.98 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006542/1.409, allocations: 5.539 MB / 1.47 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01044/1.42, allocations: 6.321 MB / 1.476 GB, free: 8.016 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005313/1.425, allocations: 3.967 MB / 1.48 GB, free: 4.051 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006037/1.426, allocations: 0.5 MB / 1.481 GB, free: 3.551 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009649/1.435, allocations: 6.625 MB / 1.487 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001572/1.437, allocations: 2.014 MB / 1.489 GB, free: 10.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002699/1.44, allocations: 3.141 MB / 1.492 GB, free: 7.734 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01079/1.45, allocations: 10.61 MB / 1.503 GB, free: 13.09 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/1.45, allocations: 4 kB / 1.503 GB, free: 13.09 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.506e-06/1.45, allocations: 4 kB / 1.503 GB, free: 13.08 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.504e-05/1.45, allocations: 0 / 1.503 GB, free: 13.08 MB / 1.092 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.008992/1.459, allocations: 6.455 MB / 1.509 GB, free: 6.516 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/1.459, allocations: 12.03 kB / 1.509 GB, free: 6.504 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005066/1.46, allocations: 476 kB / 1.509 GB, free: 6.027 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/1.471, allocations: 2.014 MB / 1.511 GB, free: 4.004 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007926/1.479, allocations: 5.616 MB / 1.517 GB, free: 14.31 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001346/1.48, allocations: 0.5986 MB / 1.517 GB, free: 13.68 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000445/1.48, allocations: 348 kB / 1.518 GB, free: 13.34 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007488/1.488, allocations: 4.537 MB / 1.522 GB, free: 8.703 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-05/1.488, allocations: 7.938 kB / 1.522 GB, free: 8.695 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003077/1.488, allocations: 136 kB / 1.522 GB, free: 8.562 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/1.488, allocations: 146.4 kB / 1.522 GB, free: 8.418 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008083/1.496, allocations: 4.038 MB / 1.526 GB, free: 4.371 MB / 1.107 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.02317/1.52, allocations: 19.3 MB / 1.545 GB, free: 15.68 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003679/1.523, allocations: 1.798 MB / 1.547 GB, free: 13.83 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001952/1.525, allocations: 0.9333 MB / 1.548 GB, free: 12.9 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005946/1.526, allocations: 409.6 kB / 1.548 GB, free: 12.43 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002263/1.528, allocations: 1.085 MB / 1.549 GB, free: 11.32 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001169/1.529, allocations: 177.7 kB / 1.55 GB, free: 11.14 MB / 1.139 GB Notification: Performance of pre-optimization done (n=131): time 3.858e-06/1.529, allocations: 7.984 kB / 1.55 GB, free: 11.14 MB / 1.139 GB Notification: Performance of matching and sorting (n=131): time 0.007233/1.537, allocations: 2.978 MB / 1.552 GB, free: 8.125 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/1.537, allocations: 145.8 kB / 1.553 GB, free: 7.953 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005115/1.542, allocations: 4.54 MB / 1.557 GB, free: 3.422 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001406/1.542, allocations: 57.7 kB / 1.557 GB, free: 3.359 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001655/1.544, allocations: 2.429 MB / 1.559 GB, free: 0.9102 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003541/1.544, allocations: 477.5 kB / 1.56 GB, free: 448 kB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00086/1.545, allocations: 0.6859 MB / 1.561 GB, free: 15.74 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/1.545, allocations: 305.1 kB / 1.561 GB, free: 15.44 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00285/1.548, allocations: 1.417 MB / 1.562 GB, free: 14.02 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003507/1.551, allocations: 2.56 MB / 1.565 GB, free: 10.95 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005581/1.557, allocations: 3.745 MB / 1.568 GB, free: 6.738 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/1.557, allocations: 8 kB / 1.568 GB, free: 6.73 MB / 1.154 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.007525/1.564, allocations: 4.357 MB / 1.573 GB, free: 2.355 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/1.565, allocations: 45.7 kB / 1.573 GB, free: 2.305 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/1.565, allocations: 36 kB / 1.573 GB, free: 2.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-05/1.565, allocations: 48 kB / 1.573 GB, free: 2.223 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/1.567, allocations: 0.7453 MB / 1.574 GB, free: 1.477 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.328e-05/1.567, allocations: 67.78 kB / 1.574 GB, free: 1.41 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003946/1.571, allocations: 0.6642 MB / 1.574 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/1.572, allocations: 147.9 kB / 1.574 GB, free: 0.5977 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004205/1.576, allocations: 2.575 MB / 1.577 GB, free: 14.01 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003461/1.579, allocations: 2.56 MB / 1.579 GB, free: 10.95 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005572/1.585, allocations: 3.744 MB / 1.583 GB, free: 6.738 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.338e-05/1.585, allocations: 12 kB / 1.583 GB, free: 6.727 MB / 1.17 GB Notification: Performance of matching and sorting (n=424) (initialization_lambda0): time 0.007499/1.592, allocations: 4.35 MB / 1.587 GB, free: 2.363 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/1.592, allocations: 59.05 kB / 1.587 GB, free: 2.301 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/1.592, allocations: 35.94 kB / 1.587 GB, free: 2.266 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.445e-05/1.593, allocations: 48 kB / 1.587 GB, free: 2.219 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/1.595, allocations: 0.7371 MB / 1.588 GB, free: 1.48 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.622e-05/1.595, allocations: 71.72 kB / 1.588 GB, free: 1.41 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003749/1.599, allocations: 0.6025 MB / 1.589 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/1.599, allocations: 144 kB / 1.589 GB, free: 0.668 MB / 1.17 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.0004535/1.6, allocations: 370.7 kB / 1.589 GB, free: 308 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004869/1.6, allocations: 430.6 kB / 1.59 GB, free: 15.87 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004931/1.605, allocations: 2.358 MB / 1.592 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.605, allocations: 12 kB / 1.592 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/1.605, allocations: 0 / 1.592 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003915/1.609, allocations: 1.96 MB / 1.594 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/1.62, allocations: 6.779 MB / 1.601 GB, free: 4.398 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/1.62, allocations: 12 kB / 1.601 GB, free: 4.387 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/1.622, allocations: 335.6 kB / 1.601 GB, free: 4.059 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/1.622, allocations: 60.77 kB / 1.601 GB, free: 3.996 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/1.622, allocations: 47.98 kB / 1.601 GB, free: 3.949 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/1.623, allocations: 1.551 MB / 1.603 GB, free: 2.258 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.799e-06/1.623, allocations: 15.94 kB / 1.603 GB, free: 2.242 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006467/1.63, allocations: 3.451 MB / 1.606 GB, free: 14.63 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.631, allocations: 0.7024 MB / 1.607 GB, free: 13.9 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004896/1.631, allocations: 39.98 kB / 1.607 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/1.634, allocations: 339.5 kB / 1.607 GB, free: 13.53 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/1.634, allocations: 116.6 kB / 1.607 GB, free: 13.42 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.634, allocations: 67.97 kB / 1.607 GB, free: 13.35 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003988/1.638, allocations: 3.031 MB / 1.61 GB, free: 10.34 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.01e-07/1.638, allocations: 0 / 1.61 GB, free: 10.34 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004698/1.643, allocations: 2.337 MB / 1.612 GB, free: 7.992 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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.007826/1.651, allocations: 4.53 MB / 1.617 GB, free: 3.297 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.009485/1.66, allocations: 5.164 MB / 1.622 GB, free: 14.12 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/1.66, allocations: 4 kB / 1.622 GB, free: 14.12 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002284/1.663, allocations: 1.082 MB / 1.623 GB, free: 13.03 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007123/1.67, allocations: 2.101 MB / 1.625 GB, free: 10.98 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06969/1.74, allocations: 41.65 MB / 1.666 GB, free: 13.71 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002411/1.742, allocations: 3.023 MB / 1.669 GB, free: 10.65 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00511/1.747, allocations: 1.304 MB / 1.67 GB, free: 9.344 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002364/1.75, allocations: 2.104 MB / 1.672 GB, free: 7.238 MB / 1.264 GB Notification: Performance of SimCode: time 5.41e-07/1.75, allocations: 3.938 kB / 1.672 GB, free: 7.234 MB / 1.264 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).