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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009649/0.0009649, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007729/0.007729, allocations: 168.9 kB / 16.26 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.286/1.286, 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 11.0.0-master/package.mo): time 2.524/2.524, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003057, allocations: 13.5 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2411, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7614/1.002, allocations: 336.2 MB / 1.387 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04127/1.044, allocations: 38.2 MB / 1.424 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004424/1.048, allocations: 116.6 kB / 1.425 GB, free: 13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01005/1.058, allocations: 5.2 MB / 1.43 GB, free: 9.855 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01288/1.071, allocations: 5.434 MB / 1.435 GB, free: 5.668 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006331/1.078, allocations: 2.772 MB / 1.438 GB, free: 3.625 MB / 1.029 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.01443/1.092, allocations: 14.36 MB / 1.452 GB, free: 9.93 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004819/1.097, allocations: 3.452 MB / 1.455 GB, free: 6.402 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008038/1.105, allocations: 4.167 MB / 1.459 GB, free: 2.219 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004567/1.109, allocations: 2.599 MB / 1.462 GB, free: 15.62 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003033/1.11, allocations: 124 kB / 1.462 GB, free: 15.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009178/1.119, allocations: 5.935 MB / 1.468 GB, free: 9.551 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/1.12, allocations: 1.109 MB / 1.469 GB, free: 8.438 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00195/1.122, allocations: 1.94 MB / 1.471 GB, free: 6.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008153/1.13, allocations: 7.604 MB / 1.478 GB, free: 14.85 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.13, allocations: 0 / 1.478 GB, free: 14.85 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.342e-06/1.13, allocations: 3.938 kB / 1.478 GB, free: 14.85 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.969e-05/1.13, allocations: 0 / 1.478 GB, free: 14.85 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.006548/1.137, allocations: 4.006 MB / 1.482 GB, free: 10.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/1.137, allocations: 12.03 kB / 1.482 GB, free: 10.74 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004255/1.137, allocations: 354.5 kB / 1.482 GB, free: 10.38 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00836/1.146, allocations: 1.583 MB / 1.484 GB, free: 8.793 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005937/1.152, allocations: 3.745 MB / 1.487 GB, free: 4.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001156/1.153, allocations: 497.8 kB / 1.488 GB, free: 4.473 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003839/1.153, allocations: 263.9 kB / 1.488 GB, free: 4.215 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006184/1.159, allocations: 3.422 MB / 1.491 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-05/1.159, allocations: 7.938 kB / 1.491 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002547/1.16, allocations: 104 kB / 1.492 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.269e-05/1.16, allocations: 108.9 kB / 1.492 GB, free: 480 kB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006779/1.167, allocations: 3.095 MB / 1.495 GB, free: 13.36 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.01913/1.186, allocations: 14.48 MB / 1.509 GB, free: 13.81 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003504/1.189, allocations: 1.619 MB / 1.51 GB, free: 12.14 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/1.191, allocations: 0.7031 MB / 1.511 GB, free: 11.44 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003744/1.191, allocations: 301.5 kB / 1.511 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001758/1.193, allocations: 0.8294 MB / 1.512 GB, free: 10.24 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006958/1.194, allocations: 122.5 kB / 1.512 GB, free: 10.12 MB / 1.107 GB Notification: Performance of pre-optimization done (n=105): time 2.204e-06/1.194, allocations: 0 / 1.512 GB, free: 10.12 MB / 1.107 GB Notification: Performance of matching and sorting (n=105): time 0.005486/1.199, allocations: 2.228 MB / 1.515 GB, free: 7.855 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/1.199, allocations: 111.8 kB / 1.515 GB, free: 7.723 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003985/1.203, allocations: 3.096 MB / 1.518 GB, free: 4.633 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/1.203, allocations: 49.7 kB / 1.518 GB, free: 4.578 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001313/1.205, allocations: 1.73 MB / 1.519 GB, free: 2.832 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000313/1.205, allocations: 390.6 kB / 1.52 GB, free: 2.445 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/1.205, allocations: 210 kB / 1.52 GB, free: 2.234 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/1.205, allocations: 301.1 kB / 1.52 GB, free: 1.938 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/1.208, allocations: 0.9567 MB / 1.521 GB, free: 0.9805 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002812/1.21, allocations: 1.756 MB / 1.523 GB, free: 14.89 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004388/1.215, allocations: 2.546 MB / 1.525 GB, free: 12.04 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/1.215, allocations: 8 kB / 1.525 GB, free: 12.03 MB / 1.123 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005848/1.221, allocations: 2.983 MB / 1.528 GB, free: 9.031 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004525/1.221, allocations: 0.7585 MB / 1.529 GB, free: 7.965 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/1.221, allocations: 20 kB / 1.529 GB, free: 7.945 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.398e-05/1.221, allocations: 32 kB / 1.529 GB, free: 7.914 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/1.223, allocations: 0.5344 MB / 1.53 GB, free: 7.379 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-05/1.223, allocations: 47.8 kB / 1.53 GB, free: 7.332 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/1.227, allocations: 492.8 kB / 1.53 GB, free: 6.852 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/1.227, allocations: 99.97 kB / 1.53 GB, free: 6.754 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.102e-06/1.227, allocations: 4 kB / 1.53 GB, free: 6.75 MB / 1.123 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005419/1.232, allocations: 2.704 MB / 1.533 GB, free: 4.039 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/1.232, allocations: 24 kB / 1.533 GB, free: 4.016 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/1.232, allocations: 35.98 kB / 1.533 GB, free: 3.98 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/1.234, allocations: 0.5231 MB / 1.533 GB, free: 3.457 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-05/1.234, allocations: 47.86 kB / 1.533 GB, free: 3.41 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/1.237, allocations: 409 kB / 1.534 GB, free: 3.012 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/1.237, allocations: 99.98 kB / 1.534 GB, free: 2.914 MB / 1.123 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.001301/1.239, allocations: 1 MB / 1.535 GB, free: 1.902 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/1.239, allocations: 308.1 kB / 1.535 GB, free: 1.598 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/1.243, allocations: 1.706 MB / 1.537 GB, free: 15.87 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/1.243, allocations: 12 kB / 1.537 GB, free: 15.86 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.243, allocations: 0 / 1.537 GB, free: 15.86 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003029/1.246, allocations: 1.337 MB / 1.538 GB, free: 14.48 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008133/1.254, allocations: 4.718 MB / 1.543 GB, free: 9.586 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.254, allocations: 8 kB / 1.543 GB, free: 9.578 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.255, allocations: 247.9 kB / 1.543 GB, free: 9.336 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/1.256, allocations: 52.81 kB / 1.543 GB, free: 9.281 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.542e-05/1.256, allocations: 35.98 kB / 1.543 GB, free: 9.246 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/1.257, allocations: 1.436 MB / 1.545 GB, free: 7.676 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/1.257, allocations: 20 kB / 1.545 GB, free: 7.656 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005051/1.262, allocations: 2.56 MB / 1.547 GB, free: 4.98 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007665/1.263, allocations: 0.5361 MB / 1.548 GB, free: 4.422 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/1.263, allocations: 27.98 kB / 1.548 GB, free: 4.395 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002212/1.265, allocations: 255.6 kB / 1.548 GB, free: 4.145 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.265, allocations: 92.42 kB / 1.548 GB, free: 4.055 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.581e-05/1.266, allocations: 47.98 kB / 1.548 GB, free: 4.008 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0029/1.268, allocations: 2.091 MB / 1.55 GB, free: 1.93 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.7e-07/1.268, allocations: 0 / 1.55 GB, free: 1.93 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003863/1.272, allocations: 1.729 MB / 1.552 GB, free: 200 kB / 1.139 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.006278/1.279, allocations: 3.601 MB / 1.555 GB, free: 12.49 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006902/1.286, allocations: 3.471 MB / 1.559 GB, free: 9.004 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.286, allocations: 8.062 kB / 1.559 GB, free: 8.996 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001808/1.287, allocations: 0.8316 MB / 1.559 GB, free: 8.152 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008645/1.296, allocations: 1.374 MB / 1.561 GB, free: 6.789 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04725/1.343, allocations: 27.54 MB / 1.588 GB, free: 9.016 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/1.345, allocations: 2.307 MB / 1.59 GB, free: 6.68 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.003594/1.349, allocations: 0.8873 MB / 1.591 GB, free: 5.785 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001781/1.351, allocations: 1.444 MB / 1.592 GB, free: 4.34 MB / 1.186 GB Notification: Performance of SimCode: time 7.32e-07/1.351, allocations: 0 / 1.592 GB, free: 4.34 MB / 1.186 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).