Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_10_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.001446/0.001446, 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.001695/0.001695, allocations: 191.8 kB / 16.25 MB, free: 6.648 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.309/1.309, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.433/2.433, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.89 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4972, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7395/1.237, allocations: 339 MB / 1.348 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03511/1.272, allocations: 38.12 MB / 1.385 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003885/1.276, allocations: 124.8 kB / 1.385 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.009379/1.285, allocations: 5.442 MB / 1.391 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01199/1.297, allocations: 5.446 MB / 1.396 GB, free: 12.16 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006374/1.304, allocations: 2.803 MB / 1.399 GB, free: 10.98 MB / 1.014 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.01327/1.317, allocations: 11.56 MB / 1.41 GB, free: 7.152 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00513/1.322, allocations: 4.142 MB / 1.414 GB, free: 4.773 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008917/1.331, allocations: 4.89 MB / 1.419 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004568/1.336, allocations: 2.918 MB / 1.422 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005321/1.336, allocations: 378.7 kB / 1.422 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009012/1.345, allocations: 5.556 MB / 1.427 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001325/1.346, allocations: 1.398 MB / 1.429 GB, free: 10.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002495/1.349, allocations: 2.267 MB / 1.431 GB, free: 7.906 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009098/1.358, allocations: 7.924 MB / 1.439 GB, free: 344 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/1.358, allocations: 0 / 1.439 GB, free: 344 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/1.358, allocations: 0 / 1.439 GB, free: 344 kB / 1.029 GB Notification: Performance of Transformations before backend: time 3.63e-05/1.358, allocations: 0 / 1.439 GB, free: 344 kB / 1.029 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.007009/1.365, allocations: 4.789 MB / 1.443 GB, free: 11.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/1.365, allocations: 11.98 kB / 1.443 GB, free: 11.49 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003983/1.366, allocations: 369.7 kB / 1.444 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008151/1.374, allocations: 1.477 MB / 1.445 GB, free: 9.641 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005658/1.379, allocations: 3.745 MB / 1.449 GB, free: 5.898 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00101/1.38, allocations: 456.5 kB / 1.449 GB, free: 5.434 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/1.381, allocations: 260 kB / 1.45 GB, free: 5.18 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005773/1.387, allocations: 3.399 MB / 1.453 GB, free: 1.688 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.589e-05/1.387, allocations: 0 / 1.453 GB, free: 1.688 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/1.387, allocations: 104 kB / 1.453 GB, free: 1.586 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.88e-05/1.387, allocations: 108.8 kB / 1.453 GB, free: 1.477 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006156/1.393, allocations: 3.029 MB / 1.456 GB, free: 14.43 MB / 1.061 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.01781/1.411, allocations: 14.43 MB / 1.47 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003264/1.414, allocations: 1.609 MB / 1.472 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/1.416, allocations: 0.6955 MB / 1.472 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003741/1.416, allocations: 307.2 kB / 1.473 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/1.418, allocations: 0.8216 MB / 1.474 GB, free: 11.51 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007272/1.419, allocations: 118.5 kB / 1.474 GB, free: 11.39 MB / 1.076 GB Notification: Performance of pre-optimization done (n=105): time 2.424e-06/1.419, allocations: 0 / 1.474 GB, free: 11.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=105): time 0.00511/1.424, allocations: 2.212 MB / 1.476 GB, free: 9.148 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/1.424, allocations: 123.8 kB / 1.476 GB, free: 9.004 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003638/1.427, allocations: 3.084 MB / 1.479 GB, free: 5.926 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/1.427, allocations: 52.2 kB / 1.479 GB, free: 5.871 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00119/1.429, allocations: 1.731 MB / 1.481 GB, free: 4.137 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/1.429, allocations: 383.6 kB / 1.481 GB, free: 3.766 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006226/1.43, allocations: 475.3 kB / 1.482 GB, free: 3.293 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.893e-05/1.43, allocations: 301.1 kB / 1.482 GB, free: 2.996 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/1.432, allocations: 0.9619 MB / 1.483 GB, free: 2.031 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/1.434, allocations: 1.738 MB / 1.484 GB, free: 15.95 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004047/1.438, allocations: 2.534 MB / 1.487 GB, free: 13.12 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/1.438, allocations: 4 kB / 1.487 GB, free: 13.11 MB / 1.092 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005834/1.444, allocations: 2.979 MB / 1.49 GB, free: 10.12 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/1.444, allocations: 42.17 kB / 1.49 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/1.444, allocations: 24 kB / 1.49 GB, free: 10.05 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.865e-05/1.444, allocations: 36 kB / 1.49 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/1.446, allocations: 0.5303 MB / 1.49 GB, free: 9.48 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.522e-05/1.447, allocations: 43.86 kB / 1.49 GB, free: 9.438 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/1.449, allocations: 487.5 kB / 1.491 GB, free: 8.961 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/1.45, allocations: 98.95 kB / 1.491 GB, free: 8.867 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003037/1.453, allocations: 1.769 MB / 1.493 GB, free: 7.09 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00256/1.455, allocations: 1.726 MB / 1.494 GB, free: 5.027 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0041/1.459, allocations: 2.532 MB / 1.497 GB, free: 2.191 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.005e-05/1.459, allocations: 8 kB / 1.497 GB, free: 2.184 MB / 1.092 GB Notification: Performance of matching and sorting (n=284) (initialization_lambda0): time 0.00553/1.465, allocations: 2.98 MB / 1.5 GB, free: 15.19 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/1.465, allocations: 45.64 kB / 1.5 GB, free: 15.14 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/1.465, allocations: 20.47 kB / 1.5 GB, free: 15.12 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/1.465, allocations: 36 kB / 1.5 GB, free: 15.08 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/1.467, allocations: 0.5188 MB / 1.5 GB, free: 14.56 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.334e-05/1.467, allocations: 47.84 kB / 1.5 GB, free: 14.52 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/1.47, allocations: 455.7 kB / 1.501 GB, free: 14.07 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/1.47, allocations: 95.98 kB / 1.501 GB, free: 13.98 MB / 1.107 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.0003574/1.471, allocations: 307.6 kB / 1.501 GB, free: 13.67 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/1.471, allocations: 308.1 kB / 1.502 GB, free: 13.36 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003667/1.475, allocations: 1.698 MB / 1.503 GB, free: 11.65 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.475, allocations: 15.94 kB / 1.503 GB, free: 11.63 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.475, allocations: 0 / 1.503 GB, free: 11.63 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00282/1.477, allocations: 1.325 MB / 1.505 GB, free: 10.28 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007649/1.485, allocations: 4.611 MB / 1.509 GB, free: 5.516 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.485, allocations: 4 kB / 1.509 GB, free: 5.512 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/1.486, allocations: 252.1 kB / 1.509 GB, free: 5.266 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001961/1.487, allocations: 52.83 kB / 1.509 GB, free: 5.211 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.812e-05/1.487, allocations: 35.98 kB / 1.509 GB, free: 5.176 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/1.488, allocations: 1.535 MB / 1.511 GB, free: 3.504 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/1.488, allocations: 11.94 kB / 1.511 GB, free: 3.492 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004771/1.493, allocations: 2.552 MB / 1.513 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000782/1.493, allocations: 0.5206 MB / 1.514 GB, free: 288 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/1.494, allocations: 39.92 kB / 1.514 GB, free: 248 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002049/1.496, allocations: 245.7 kB / 1.514 GB, free: 4 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/1.496, allocations: 88.44 kB / 1.514 GB, free: 15.92 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/1.496, allocations: 51.97 kB / 1.514 GB, free: 15.87 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002838/1.499, allocations: 2.083 MB / 1.516 GB, free: 13.8 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.21e-07/1.499, allocations: 0 / 1.516 GB, free: 13.8 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00383/1.503, allocations: 1.733 MB / 1.518 GB, free: 12.06 MB / 1.123 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.006116/1.509, allocations: 3.573 MB / 1.522 GB, free: 8.402 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007054/1.516, allocations: 3.606 MB / 1.525 GB, free: 4.777 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.516, allocations: 0 / 1.525 GB, free: 4.777 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001709/1.518, allocations: 0.8319 MB / 1.526 GB, free: 3.934 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005176/1.523, allocations: 1.465 MB / 1.527 GB, free: 2.504 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04654/1.569, allocations: 27.44 MB / 1.554 GB, free: 4.848 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/1.571, allocations: 2.307 MB / 1.556 GB, free: 2.512 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003533/1.575, allocations: 0.8834 MB / 1.557 GB, free: 1.621 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001736/1.577, allocations: 1.444 MB / 1.559 GB, free: 180 kB / 1.154 GB Notification: Performance of SimCode: time 4.31e-07/1.577, allocations: 0 / 1.559 GB, free: 180 kB / 1.154 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).