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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001437/0.001437, 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.00167/0.00167, allocations: 191.4 kB / 16.14 MB, free: 6.691 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.264/1.264, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.36/2.36, allocations: 437 MB / 0.71 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5001/0.5014, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7513/1.253, allocations: 340.9 MB / 1.35 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04098/1.294, allocations: 38.66 MB / 1.387 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005973/1.3, allocations: 123.5 kB / 1.388 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01204/1.312, allocations: 5.215 MB / 1.393 GB, free: 12.49 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01485/1.327, allocations: 5.43 MB / 1.398 GB, free: 11.23 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007731/1.335, allocations: 2.775 MB / 1.401 GB, free: 9.938 MB / 1.014 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‘ Notification: Performance of NFFlatten.flatten: time 0.01806/1.353, allocations: 14.37 MB / 1.415 GB, free: 4.188 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005681/1.358, allocations: 3.62 MB / 1.418 GB, free: 2.16 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01065/1.369, allocations: 4.334 MB / 1.422 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006415/1.376, allocations: 2.827 MB / 1.425 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0009882/1.377, allocations: 200 kB / 1.425 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01193/1.388, allocations: 5.996 MB / 1.431 GB, free: 6.906 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001633/1.39, allocations: 1.226 MB / 1.432 GB, free: 5.691 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003342/1.393, allocations: 2.058 MB / 1.434 GB, free: 3.637 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01204/1.406, allocations: 7.777 MB / 1.442 GB, free: 12.21 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.406, allocations: 4 kB / 1.442 GB, free: 12.21 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.342e-06/1.406, allocations: 4 kB / 1.442 GB, free: 12.21 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.838e-05/1.406, allocations: 0 / 1.442 GB, free: 12.21 MB / 1.045 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.008708/1.414, allocations: 4.774 MB / 1.447 GB, free: 7.387 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.414, allocations: 15.98 kB / 1.447 GB, free: 7.371 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004404/1.415, allocations: 362.5 kB / 1.447 GB, free: 7.008 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009156/1.424, allocations: 1.492 MB / 1.449 GB, free: 5.512 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007661/1.432, allocations: 3.735 MB / 1.452 GB, free: 1.781 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00113/1.433, allocations: 457.3 kB / 1.453 GB, free: 1.316 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006178/1.434, allocations: 260 kB / 1.453 GB, free: 1.062 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006652/1.44, allocations: 3.394 MB / 1.456 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/1.44, allocations: 0 / 1.456 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/1.441, allocations: 106.9 kB / 1.456 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.596e-05/1.441, allocations: 108.9 kB / 1.456 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006824/1.447, allocations: 3.04 MB / 1.459 GB, free: 10.3 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.01983/1.467, allocations: 14.43 MB / 1.473 GB, free: 10.93 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003277/1.471, allocations: 1.598 MB / 1.475 GB, free: 9.285 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/1.472, allocations: 0.6955 MB / 1.476 GB, free: 8.582 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003716/1.472, allocations: 301 kB / 1.476 GB, free: 8.238 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001712/1.474, allocations: 0.8176 MB / 1.477 GB, free: 7.402 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009454/1.475, allocations: 122.4 kB / 1.477 GB, free: 7.281 MB / 1.076 GB Notification: Performance of pre-optimization done (n=105): time 4.368e-06/1.475, allocations: 0 / 1.477 GB, free: 7.281 MB / 1.076 GB Notification: Performance of matching and sorting (n=105): time 0.005339/1.48, allocations: 2.22 MB / 1.479 GB, free: 5.027 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/1.481, allocations: 115.8 kB / 1.479 GB, free: 4.891 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004008/1.485, allocations: 3.088 MB / 1.482 GB, free: 1.809 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/1.485, allocations: 53.7 kB / 1.482 GB, free: 1.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001302/1.486, allocations: 1.725 MB / 1.484 GB, free: 24 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/1.486, allocations: 381.9 kB / 1.484 GB, free: 15.65 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006499/1.487, allocations: 473.4 kB / 1.485 GB, free: 15.18 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/1.487, allocations: 309.1 kB / 1.485 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/1.489, allocations: 0.9658 MB / 1.486 GB, free: 13.91 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/1.492, allocations: 1.734 MB / 1.488 GB, free: 11.83 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004063/1.496, allocations: 2.535 MB / 1.49 GB, free: 8.996 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/1.496, allocations: 4 kB / 1.49 GB, free: 8.992 MB / 1.092 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005631/1.502, allocations: 2.975 MB / 1.493 GB, free: 6 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/1.502, allocations: 45.7 kB / 1.493 GB, free: 5.949 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/1.502, allocations: 23.98 kB / 1.493 GB, free: 5.926 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/1.502, allocations: 36 kB / 1.493 GB, free: 5.891 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/1.504, allocations: 0.519 MB / 1.494 GB, free: 5.371 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-05/1.504, allocations: 51.8 kB / 1.494 GB, free: 5.32 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/1.507, allocations: 483.5 kB / 1.494 GB, free: 4.848 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/1.507, allocations: 99.97 kB / 1.494 GB, free: 4.75 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003471/1.511, allocations: 1.763 MB / 1.496 GB, free: 2.98 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002647/1.513, allocations: 1.73 MB / 1.498 GB, free: 0.9141 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004199/1.518, allocations: 2.533 MB / 1.5 GB, free: 14.08 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.364e-05/1.518, allocations: 8 kB / 1.5 GB, free: 14.07 MB / 1.107 GB Notification: Performance of matching and sorting (n=284) (initialization_lambda0): time 0.00624/1.524, allocations: 2.982 MB / 1.503 GB, free: 11.07 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/1.524, allocations: 42.8 kB / 1.503 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/1.524, allocations: 20 kB / 1.503 GB, free: 11 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/1.524, allocations: 32 kB / 1.503 GB, free: 10.97 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/1.526, allocations: 0.5227 MB / 1.504 GB, free: 10.45 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.853e-05/1.526, allocations: 47.8 kB / 1.504 GB, free: 10.4 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003591/1.53, allocations: 459.6 kB / 1.504 GB, free: 9.953 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/1.53, allocations: 99.97 kB / 1.504 GB, free: 9.855 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.0005078/1.53, allocations: 316.1 kB / 1.505 GB, free: 9.539 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004777/1.531, allocations: 300.2 kB / 1.505 GB, free: 9.242 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003885/1.535, allocations: 1.706 MB / 1.507 GB, free: 7.52 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.535, allocations: 12 kB / 1.507 GB, free: 7.508 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.535, allocations: 0 / 1.507 GB, free: 7.508 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002833/1.538, allocations: 1.317 MB / 1.508 GB, free: 6.16 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009212/1.547, allocations: 4.709 MB / 1.512 GB, free: 1.285 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.547, allocations: 8 kB / 1.512 GB, free: 1.277 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/1.548, allocations: 244.2 kB / 1.513 GB, free: 1.039 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/1.549, allocations: 56.83 kB / 1.513 GB, free: 0.9805 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.42e-05/1.549, allocations: 31.98 kB / 1.513 GB, free: 0.9492 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/1.55, allocations: 1.432 MB / 1.514 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/1.55, allocations: 11.94 kB / 1.514 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00529/1.555, allocations: 2.537 MB / 1.517 GB, free: 12.73 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.556, allocations: 0.5322 MB / 1.517 GB, free: 12.17 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/1.557, allocations: 32 kB / 1.517 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/1.559, allocations: 251.5 kB / 1.517 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/1.559, allocations: 92.38 kB / 1.517 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.559, allocations: 63.91 kB / 1.518 GB, free: 11.74 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003236/1.563, allocations: 2.075 MB / 1.52 GB, free: 9.68 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.9e-07/1.563, allocations: 4 kB / 1.52 GB, free: 9.676 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004631/1.567, allocations: 1.733 MB / 1.521 GB, free: 7.938 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.006493/1.574, allocations: 3.571 MB / 1.525 GB, free: 4.289 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007414/1.581, allocations: 3.467 MB / 1.528 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/1.581, allocations: 0 / 1.528 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002005/1.583, allocations: 0.8286 MB / 1.529 GB, free: 15.96 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006441/1.59, allocations: 1.381 MB / 1.53 GB, free: 14.6 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05485/1.645, allocations: 27.46 MB / 1.557 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002759/1.647, allocations: 2.303 MB / 1.559 GB, free: 14.59 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.004344/1.652, allocations: 0.8835 MB / 1.56 GB, free: 13.7 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002136/1.654, allocations: 1.444 MB / 1.562 GB, free: 12.26 MB / 1.17 GB Notification: Performance of SimCode: time 1.292e-06/1.654, allocations: 0 / 1.562 GB, free: 12.26 MB / 1.17 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).