Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",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.001533/0.001533, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001769/0.001769, allocations: 198.5 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.148/2.148, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.882/2.882, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 70.42 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2303, allocations: 157.4 MB / 1.052 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7368/0.9671, allocations: 339.1 MB / 1.384 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04352/1.011, allocations: 38.09 MB / 1.421 GB, free: 6.527 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004079/1.015, allocations: 125.9 kB / 1.421 GB, free: 6.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01048/1.025, allocations: 5.447 MB / 1.426 GB, free: 3.145 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01265/1.038, allocations: 5.43 MB / 1.431 GB, free: 15.01 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006466/1.044, allocations: 2.816 MB / 1.434 GB, free: 12.96 MB / 1.045 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‘ Notification: Performance of NFFlatten.flatten: time 0.01279/1.057, allocations: 11.55 MB / 1.445 GB, free: 5.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005268/1.063, allocations: 4.152 MB / 1.45 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008796/1.071, allocations: 4.893 MB / 1.454 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005033/1.076, allocations: 2.919 MB / 1.457 GB, free: 8.961 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008045/1.077, allocations: 376 kB / 1.458 GB, free: 8.594 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008695/1.086, allocations: 5.553 MB / 1.463 GB, free: 3.027 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001565/1.087, allocations: 1.41 MB / 1.464 GB, free: 1.613 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003024/1.091, allocations: 2.267 MB / 1.467 GB, free: 15.33 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009225/1.1, allocations: 7.918 MB / 1.474 GB, free: 7.395 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/1.1, allocations: 0 / 1.474 GB, free: 7.395 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.092e-06/1.1, allocations: 4 kB / 1.474 GB, free: 7.391 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.918e-05/1.1, allocations: 0 / 1.474 GB, free: 7.391 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.007416/1.107, allocations: 4.776 MB / 1.479 GB, free: 2.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/1.107, allocations: 12.56 kB / 1.479 GB, free: 2.508 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004243/1.108, allocations: 366.5 kB / 1.479 GB, free: 2.141 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008505/1.116, allocations: 1.485 MB / 1.481 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006084/1.122, allocations: 3.741 MB / 1.484 GB, free: 12.84 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001082/1.123, allocations: 453.9 kB / 1.485 GB, free: 12.38 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003674/1.124, allocations: 260 kB / 1.485 GB, free: 12.12 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006165/1.13, allocations: 3.395 MB / 1.488 GB, free: 8.621 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.024e-05/1.13, allocations: 3.984 kB / 1.488 GB, free: 8.617 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/1.13, allocations: 104 kB / 1.489 GB, free: 8.516 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-05/1.13, allocations: 104.8 kB / 1.489 GB, free: 8.41 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006607/1.137, allocations: 3.037 MB / 1.492 GB, free: 5.359 MB / 1.092 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.01903/1.156, allocations: 14.43 MB / 1.506 GB, free: 5.859 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/1.159, allocations: 1.6 MB / 1.507 GB, free: 4.219 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/1.161, allocations: 0.7033 MB / 1.508 GB, free: 3.512 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004045/1.161, allocations: 309.5 kB / 1.508 GB, free: 3.156 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001786/1.163, allocations: 0.8215 MB / 1.509 GB, free: 2.316 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007747/1.164, allocations: 122.4 kB / 1.509 GB, free: 2.195 MB / 1.107 GB Notification: Performance of pre-optimization done (n=105): time 3.727e-06/1.164, allocations: 0 / 1.509 GB, free: 2.195 MB / 1.107 GB Notification: Performance of matching and sorting (n=105): time 0.005494/1.17, allocations: 2.209 MB / 1.511 GB, free: 15.95 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/1.17, allocations: 123.8 kB / 1.511 GB, free: 15.81 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004062/1.174, allocations: 3.088 MB / 1.514 GB, free: 12.73 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001201/1.174, allocations: 53.7 kB / 1.514 GB, free: 12.67 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001277/1.175, allocations: 1.726 MB / 1.516 GB, free: 10.93 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/1.175, allocations: 386.7 kB / 1.517 GB, free: 10.54 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000674/1.176, allocations: 471.3 kB / 1.517 GB, free: 10.07 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/1.176, allocations: 301.1 kB / 1.517 GB, free: 9.777 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002223/1.178, allocations: 0.9658 MB / 1.518 GB, free: 8.809 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002738/1.181, allocations: 1.735 MB / 1.52 GB, free: 6.734 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004277/1.185, allocations: 2.537 MB / 1.522 GB, free: 3.891 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/1.185, allocations: 4 kB / 1.522 GB, free: 3.887 MB / 1.123 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00592/1.191, allocations: 2.979 MB / 1.525 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/1.191, allocations: 40.2 kB / 1.525 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/1.191, allocations: 24 kB / 1.525 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-05/1.192, allocations: 36.47 kB / 1.525 GB, free: 0.7852 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/1.194, allocations: 0.5265 MB / 1.526 GB, free: 264 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.222e-05/1.194, allocations: 47.84 kB / 1.526 GB, free: 216 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/1.197, allocations: 485.9 kB / 1.526 GB, free: 15.74 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/1.197, allocations: 95.98 kB / 1.526 GB, free: 15.64 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003222/1.2, allocations: 1.769 MB / 1.528 GB, free: 13.87 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002703/1.203, allocations: 1.726 MB / 1.53 GB, free: 11.8 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004237/1.207, allocations: 2.536 MB / 1.532 GB, free: 8.969 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.377e-05/1.207, allocations: 8 kB / 1.532 GB, free: 8.961 MB / 1.139 GB Notification: Performance of matching and sorting (n=284) (initialization_lambda0): time 0.005908/1.213, allocations: 2.977 MB / 1.535 GB, free: 5.965 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.213, allocations: 41.7 kB / 1.535 GB, free: 5.918 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/1.213, allocations: 27.94 kB / 1.535 GB, free: 5.891 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/1.213, allocations: 32 kB / 1.535 GB, free: 5.859 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/1.216, allocations: 0.5231 MB / 1.536 GB, free: 5.336 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.277e-05/1.216, allocations: 43.86 kB / 1.536 GB, free: 5.293 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/1.219, allocations: 459.5 kB / 1.536 GB, free: 4.844 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/1.219, allocations: 104 kB / 1.536 GB, free: 4.742 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (249): * Single equations (assignments): 245 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0003583/1.219, allocations: 303.6 kB / 1.537 GB, free: 4.438 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/1.22, allocations: 304.2 kB / 1.537 GB, free: 4.137 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003784/1.223, allocations: 1.695 MB / 1.539 GB, free: 2.426 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.223, allocations: 8 kB / 1.539 GB, free: 2.418 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.223, allocations: 4 kB / 1.539 GB, free: 2.414 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002939/1.226, allocations: 1.325 MB / 1.54 GB, free: 1.059 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008033/1.234, allocations: 4.62 MB / 1.545 GB, free: 12.26 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/1.234, allocations: 8 kB / 1.545 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/1.236, allocations: 243.9 kB / 1.545 GB, free: 12.02 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/1.236, allocations: 52.81 kB / 1.545 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.519e-05/1.236, allocations: 35.98 kB / 1.545 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/1.237, allocations: 1.543 MB / 1.546 GB, free: 10.25 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/1.237, allocations: 11.94 kB / 1.546 GB, free: 10.23 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005027/1.242, allocations: 2.552 MB / 1.549 GB, free: 7.57 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000862/1.243, allocations: 0.5206 MB / 1.549 GB, free: 7.027 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003744/1.244, allocations: 35.92 kB / 1.549 GB, free: 6.992 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/1.246, allocations: 243.6 kB / 1.55 GB, free: 6.754 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/1.246, allocations: 88.44 kB / 1.55 GB, free: 6.664 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.246, allocations: 51.97 kB / 1.55 GB, free: 6.613 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002985/1.249, allocations: 2.079 MB / 1.552 GB, free: 4.547 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.9e-07/1.249, allocations: 0 / 1.552 GB, free: 4.547 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.004033/1.253, allocations: 1.737 MB / 1.554 GB, free: 2.805 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (104): * Single equations (assignments): 101 * 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.03667/1.29, allocations: 3.581 MB / 1.557 GB, free: 15.11 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007761/1.298, allocations: 3.608 MB / 1.561 GB, free: 11.49 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.298, allocations: 0 / 1.561 GB, free: 11.49 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/1.299, allocations: 0.8324 MB / 1.561 GB, free: 10.64 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005601/1.305, allocations: 1.462 MB / 1.563 GB, free: 9.215 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04927/1.354, allocations: 27.45 MB / 1.59 GB, free: 11.55 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/1.356, allocations: 2.307 MB / 1.592 GB, free: 9.207 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00374/1.36, allocations: 0.8834 MB / 1.593 GB, free: 8.316 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001777/1.362, allocations: 1.44 MB / 1.594 GB, free: 6.879 MB / 1.201 GB Notification: Performance of SimCode: time 4.41e-07/1.362, allocations: 0 / 1.594 GB, free: 6.879 MB / 1.201 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).