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.000972/0.000972, allocations: 91.3 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.007578/0.007578, allocations: 171.4 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.572/2.572, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.000336, allocations: 8.281 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5689/0.5693, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8039/1.373, allocations: 336.2 MB / 1.351 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03948/1.413, allocations: 38.22 MB / 1.389 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005242/1.418, allocations: 120.3 kB / 1.389 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01078/1.429, allocations: 5.198 MB / 1.394 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01496/1.444, allocations: 5.432 MB / 1.399 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00781/1.452, allocations: 2.779 MB / 1.402 GB, free: 5.438 MB / 0.9981 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‘ Notification: Performance of NFFlatten.flatten: time 0.0167/1.468, allocations: 14.35 MB / 1.416 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006177/1.475, allocations: 3.452 MB / 1.419 GB, free: 11.09 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009614/1.484, allocations: 4.155 MB / 1.423 GB, free: 7.227 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005509/1.49, allocations: 2.591 MB / 1.426 GB, free: 4.836 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009515/1.491, allocations: 124 kB / 1.426 GB, free: 4.715 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/1.502, allocations: 5.937 MB / 1.432 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001766/1.504, allocations: 1.11 MB / 1.433 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003594/1.507, allocations: 1.94 MB / 1.435 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01216/1.519, allocations: 7.608 MB / 1.442 GB, free: 5.078 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/1.519, allocations: 0 / 1.442 GB, free: 5.078 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.164e-06/1.519, allocations: 0 / 1.442 GB, free: 5.078 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001686/1.52, allocations: 3.938 kB / 1.442 GB, free: 5.074 MB / 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.008349/1.528, allocations: 4.001 MB / 1.446 GB, free: 1.023 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.528, allocations: 11.98 kB / 1.446 GB, free: 1.012 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007885/1.529, allocations: 369 kB / 1.447 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00915/1.538, allocations: 1.582 MB / 1.448 GB, free: 15.06 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007588/1.546, allocations: 3.747 MB / 1.452 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001239/1.547, allocations: 486 kB / 1.452 GB, free: 10.82 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006762/1.548, allocations: 263.7 kB / 1.452 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00774/1.555, allocations: 3.43 MB / 1.456 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.707e-05/1.555, allocations: 11.94 kB / 1.456 GB, free: 7.023 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003548/1.556, allocations: 110.5 kB / 1.456 GB, free: 6.918 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/1.556, allocations: 100.9 kB / 1.456 GB, free: 6.816 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0078/1.564, allocations: 3.099 MB / 1.459 GB, free: 3.703 MB / 1.045 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.02229/1.586, allocations: 14.49 MB / 1.473 GB, free: 4.266 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003733/1.59, allocations: 1.613 MB / 1.475 GB, free: 2.617 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/1.591, allocations: 0.6994 MB / 1.475 GB, free: 1.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003958/1.592, allocations: 308 kB / 1.476 GB, free: 1.559 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001885/1.594, allocations: 0.8261 MB / 1.477 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001104/1.595, allocations: 118.5 kB / 1.477 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of pre-optimization done (n=105): time 2.836e-06/1.595, allocations: 0 / 1.477 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of matching and sorting (n=105): time 0.005963/1.601, allocations: 2.228 MB / 1.479 GB, free: 14.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/1.601, allocations: 115.8 kB / 1.479 GB, free: 14.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004887/1.606, allocations: 3.096 MB / 1.482 GB, free: 11.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/1.606, allocations: 53.7 kB / 1.482 GB, free: 11.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/1.607, allocations: 1.724 MB / 1.484 GB, free: 9.324 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003487/1.608, allocations: 389.1 kB / 1.484 GB, free: 8.949 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/1.608, allocations: 210.1 kB / 1.484 GB, free: 8.738 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/1.608, allocations: 305.1 kB / 1.485 GB, free: 8.438 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/1.611, allocations: 0.9528 MB / 1.486 GB, free: 7.484 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002855/1.614, allocations: 1.746 MB / 1.487 GB, free: 5.398 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004562/1.618, allocations: 2.543 MB / 1.49 GB, free: 2.559 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/1.618, allocations: 12 kB / 1.49 GB, free: 2.547 MB / 1.076 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006502/1.625, allocations: 2.99 MB / 1.493 GB, free: 15.54 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004855/1.625, allocations: 0.7579 MB / 1.493 GB, free: 14.48 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/1.625, allocations: 28 kB / 1.493 GB, free: 14.45 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.247e-05/1.625, allocations: 35.98 kB / 1.493 GB, free: 14.41 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/1.627, allocations: 0.5227 MB / 1.494 GB, free: 13.89 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.681e-05/1.627, allocations: 51.84 kB / 1.494 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003707/1.631, allocations: 488.8 kB / 1.494 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/1.631, allocations: 99.92 kB / 1.495 GB, free: 13.27 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/1.631, allocations: 8.625 kB / 1.495 GB, free: 13.26 MB / 1.092 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005796/1.637, allocations: 2.7 MB / 1.497 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.019e-05/1.637, allocations: 24 kB / 1.497 GB, free: 10.53 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.305e-05/1.637, allocations: 32 kB / 1.497 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/1.639, allocations: 0.527 MB / 1.498 GB, free: 9.969 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-05/1.64, allocations: 47.8 kB / 1.498 GB, free: 9.922 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003237/1.643, allocations: 409 kB / 1.498 GB, free: 9.52 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/1.643, allocations: 104 kB / 1.498 GB, free: 9.418 MB / 1.092 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.001921/1.645, allocations: 0.9973 MB / 1.499 GB, free: 8.414 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005514/1.645, allocations: 312.1 kB / 1.5 GB, free: 8.105 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/1.65, allocations: 1.71 MB / 1.501 GB, free: 6.367 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/1.65, allocations: 12 kB / 1.501 GB, free: 6.355 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.65, allocations: 0 / 1.501 GB, free: 6.355 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003053/1.653, allocations: 1.329 MB / 1.503 GB, free: 4.996 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009472/1.662, allocations: 4.714 MB / 1.507 GB, free: 120 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.662, allocations: 12.03 kB / 1.507 GB, free: 108 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/1.664, allocations: 247.7 kB / 1.507 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002057/1.664, allocations: 52.83 kB / 1.507 GB, free: 15.81 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.942e-05/1.664, allocations: 31.98 kB / 1.507 GB, free: 15.78 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/1.665, allocations: 1.44 MB / 1.509 GB, free: 14.2 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/1.665, allocations: 11.94 kB / 1.509 GB, free: 14.19 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005376/1.67, allocations: 2.564 MB / 1.511 GB, free: 11.52 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/1.672, allocations: 0.5322 MB / 1.512 GB, free: 10.97 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004421/1.672, allocations: 31.94 kB / 1.512 GB, free: 10.94 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00242/1.674, allocations: 255.6 kB / 1.512 GB, free: 10.69 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/1.675, allocations: 88.44 kB / 1.512 GB, free: 10.6 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/1.675, allocations: 51.97 kB / 1.512 GB, free: 10.55 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003343/1.678, allocations: 2.083 MB / 1.514 GB, free: 8.48 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.01e-07/1.678, allocations: 0 / 1.514 GB, free: 8.48 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004498/1.683, allocations: 1.733 MB / 1.516 GB, free: 6.746 MB / 1.107 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.006571/1.689, allocations: 3.603 MB / 1.52 GB, free: 3.051 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007425/1.697, allocations: 3.472 MB / 1.523 GB, free: 15.56 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.697, allocations: 8.562 kB / 1.523 GB, free: 15.55 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00187/1.698, allocations: 0.8394 MB / 1.524 GB, free: 14.71 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009611/1.708, allocations: 1.384 MB / 1.525 GB, free: 13.34 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0535/1.762, allocations: 27.55 MB / 1.552 GB, free: 15.58 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002239/1.764, allocations: 2.311 MB / 1.554 GB, free: 13.24 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003973/1.768, allocations: 0.8912 MB / 1.555 GB, free: 12.34 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/1.77, allocations: 1.444 MB / 1.557 GB, free: 10.9 MB / 1.154 GB Notification: Performance of SimCode: time 8.82e-07/1.77, allocations: 0 / 1.557 GB, free: 10.9 MB / 1.154 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).