Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_latest_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.001551/0.001551, 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.001709/0.001709, allocations: 197.9 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.077/2.077, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.986/3.986, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 70.23 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2922, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7505/1.043, allocations: 375.9 MB / 1.42 GB, free: 7.633 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0534/1.096, allocations: 46.18 MB / 1.465 GB, free: 1.355 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005621/1.102, allocations: 159.1 kB / 1.465 GB, free: 1.199 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01526/1.117, allocations: 8.488 MB / 1.473 GB, free: 8.695 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01658/1.134, allocations: 6.866 MB / 1.48 GB, free: 1.805 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008016/1.142, allocations: 3.532 MB / 1.483 GB, free: 14.3 MB / 1.092 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.02007/1.162, allocations: 17.52 MB / 1.5 GB, free: 12.75 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006289/1.168, allocations: 5.525 MB / 1.506 GB, free: 7.141 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01069/1.179, allocations: 6.321 MB / 1.512 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005492/1.184, allocations: 3.972 MB / 1.516 GB, free: 12.82 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006492/1.185, allocations: 0.4961 MB / 1.516 GB, free: 12.33 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/1.195, allocations: 6.633 MB / 1.523 GB, free: 5.684 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001687/1.197, allocations: 2.006 MB / 1.525 GB, free: 3.672 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002924/1.2, allocations: 3.145 MB / 1.528 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/1.211, allocations: 10.61 MB / 1.538 GB, free: 5.871 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.211, allocations: 0 / 1.538 GB, free: 5.871 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.172e-06/1.211, allocations: 0 / 1.538 GB, free: 5.871 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.325e-05/1.211, allocations: 4 kB / 1.538 GB, free: 5.867 MB / 1.139 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.009711/1.221, allocations: 6.449 MB / 1.544 GB, free: 15.3 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/1.221, allocations: 16.61 kB / 1.544 GB, free: 15.29 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005375/1.222, allocations: 476.1 kB / 1.545 GB, free: 14.81 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/1.233, allocations: 2.014 MB / 1.547 GB, free: 12.79 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008555/1.241, allocations: 5.612 MB / 1.552 GB, free: 7.098 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001367/1.243, allocations: 0.6066 MB / 1.553 GB, free: 6.465 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004857/1.243, allocations: 340 kB / 1.553 GB, free: 6.133 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008062/1.251, allocations: 4.541 MB / 1.558 GB, free: 1.488 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-05/1.251, allocations: 3.938 kB / 1.558 GB, free: 1.484 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003423/1.252, allocations: 144 kB / 1.558 GB, free: 1.344 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/1.252, allocations: 134.5 kB / 1.558 GB, free: 1.211 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008497/1.26, allocations: 4.05 MB / 1.562 GB, free: 13.15 MB / 1.17 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.02556/1.286, allocations: 19.29 MB / 1.581 GB, free: 8.477 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003881/1.29, allocations: 1.806 MB / 1.583 GB, free: 6.621 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002063/1.292, allocations: 0.9333 MB / 1.583 GB, free: 5.688 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006178/1.292, allocations: 405.6 kB / 1.584 GB, free: 5.219 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002379/1.295, allocations: 1.089 MB / 1.585 GB, free: 4.102 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001313/1.296, allocations: 185.7 kB / 1.585 GB, free: 3.918 MB / 1.186 GB Notification: Performance of pre-optimization done (n=131): time 3.286e-06/1.296, allocations: 0 / 1.585 GB, free: 3.918 MB / 1.186 GB Notification: Performance of matching and sorting (n=131): time 0.0075/1.304, allocations: 2.974 MB / 1.588 GB, free: 0.9141 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/1.304, allocations: 153.8 kB / 1.588 GB, free: 0.7344 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006026/1.31, allocations: 4.536 MB / 1.593 GB, free: 12.2 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001546/1.31, allocations: 61.7 kB / 1.593 GB, free: 12.14 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001841/1.312, allocations: 2.425 MB / 1.595 GB, free: 9.695 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004136/1.312, allocations: 481.4 kB / 1.595 GB, free: 9.219 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009538/1.313, allocations: 0.6859 MB / 1.596 GB, free: 8.523 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 8.681e-05/1.313, allocations: 305.1 kB / 1.596 GB, free: 8.223 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00305/1.316, allocations: 1.409 MB / 1.598 GB, free: 6.805 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003784/1.32, allocations: 2.556 MB / 1.6 GB, free: 3.742 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006053/1.326, allocations: 3.758 MB / 1.604 GB, free: 15.53 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/1.326, allocations: 8 kB / 1.604 GB, free: 15.52 MB / 1.217 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.008222/1.334, allocations: 4.35 MB / 1.608 GB, free: 11.15 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.148e-05/1.334, allocations: 57.84 kB / 1.608 GB, free: 11.09 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/1.335, allocations: 32 kB / 1.608 GB, free: 11.05 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.935e-05/1.335, allocations: 48 kB / 1.608 GB, free: 11.01 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/1.337, allocations: 0.741 MB / 1.609 GB, free: 10.27 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.927e-05/1.338, allocations: 63.8 kB / 1.609 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004258/1.342, allocations: 0.668 MB / 1.61 GB, free: 9.535 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/1.342, allocations: 140 kB / 1.61 GB, free: 9.398 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00446/1.347, allocations: 2.575 MB / 1.612 GB, free: 6.816 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004001/1.351, allocations: 2.552 MB / 1.615 GB, free: 3.758 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006436/1.357, allocations: 3.76 MB / 1.619 GB, free: 15.54 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-05/1.357, allocations: 8 kB / 1.619 GB, free: 15.53 MB / 1.232 GB Notification: Performance of matching and sorting (n=424) (initialization_lambda0): time 0.00817/1.365, allocations: 4.349 MB / 1.623 GB, free: 11.16 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/1.365, allocations: 49.64 kB / 1.623 GB, free: 11.1 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.834e-05/1.365, allocations: 32 kB / 1.623 GB, free: 11.07 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.395e-05/1.365, allocations: 52.72 kB / 1.623 GB, free: 11.02 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/1.368, allocations: 0.741 MB / 1.624 GB, free: 10.28 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.887e-05/1.368, allocations: 71.72 kB / 1.624 GB, free: 10.21 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003921/1.372, allocations: 0.6052 MB / 1.624 GB, free: 9.602 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/1.372, allocations: 147.9 kB / 1.624 GB, free: 9.457 MB / 1.232 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.000495/1.373, allocations: 372.7 kB / 1.625 GB, free: 9.086 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005358/1.373, allocations: 434.4 kB / 1.625 GB, free: 8.656 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/1.378, allocations: 2.361 MB / 1.628 GB, free: 6.266 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/1.378, allocations: 16 kB / 1.628 GB, free: 6.25 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.378, allocations: 0 / 1.628 GB, free: 6.25 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003801/1.382, allocations: 1.956 MB / 1.629 GB, free: 4.207 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/1.393, allocations: 6.775 MB / 1.636 GB, free: 13.18 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.393, allocations: 12 kB / 1.636 GB, free: 13.17 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/1.395, allocations: 332.2 kB / 1.636 GB, free: 12.85 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000193/1.395, allocations: 60.83 kB / 1.636 GB, free: 12.79 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/1.395, allocations: 43.97 kB / 1.637 GB, free: 12.74 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/1.397, allocations: 1.547 MB / 1.638 GB, free: 11.06 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.726e-05/1.397, allocations: 23.86 kB / 1.638 GB, free: 11.04 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007071/1.404, allocations: 3.446 MB / 1.641 GB, free: 7.426 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/1.405, allocations: 0.7027 MB / 1.642 GB, free: 6.699 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005544/1.406, allocations: 36 kB / 1.642 GB, free: 6.664 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002692/1.409, allocations: 335.5 kB / 1.642 GB, free: 6.336 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/1.409, allocations: 128.6 kB / 1.643 GB, free: 6.211 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/1.409, allocations: 71.89 kB / 1.643 GB, free: 6.141 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004328/1.413, allocations: 3.039 MB / 1.646 GB, free: 3.117 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.61e-07/1.413, allocations: 0 / 1.646 GB, free: 3.117 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00502/1.418, allocations: 2.326 MB / 1.648 GB, free: 0.7852 MB / 1.248 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.007702/1.426, allocations: 4.521 MB / 1.652 GB, free: 12.09 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.009632/1.436, allocations: 5.164 MB / 1.657 GB, free: 6.918 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.436, allocations: 4 kB / 1.657 GB, free: 6.914 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002247/1.438, allocations: 1.081 MB / 1.658 GB, free: 5.828 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007548/1.446, allocations: 2.115 MB / 1.66 GB, free: 3.773 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07914/1.525, allocations: 41.65 MB / 1.701 GB, free: 6.508 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002893/1.528, allocations: 3.027 MB / 1.704 GB, free: 3.449 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.005166/1.533, allocations: 1.311 MB / 1.705 GB, free: 2.133 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002539/1.535, allocations: 2.093 MB / 1.707 GB, free: 40 kB / 1.311 GB Notification: Performance of SimCode: time 7.01e-07/1.535, allocations: 0 / 1.707 GB, free: 40 kB / 1.311 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).