Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_10_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.001791/0.001791, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002163/0.002163, allocations: 198.4 kB / 16.14 MB, free: 6.793 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.239/1.239, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.334/2.334, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 63.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.4896, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7289/1.219, allocations: 378.2 MB / 1.386 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04607/1.265, allocations: 46.85 MB / 1.432 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005085/1.27, allocations: 158.2 kB / 1.432 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01372/1.284, allocations: 8.13 MB / 1.44 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01533/1.299, allocations: 6.883 MB / 1.447 GB, free: 5.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007534/1.306, allocations: 3.497 MB / 1.45 GB, free: 1.961 MB / 1.029 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‘ [/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.0108}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02252/1.329, allocations: 21.39 MB / 1.471 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005767/1.335, allocations: 4.814 MB / 1.476 GB, free: 7.637 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01023/1.345, allocations: 5.58 MB / 1.481 GB, free: 2.035 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005536/1.35, allocations: 3.842 MB / 1.485 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005527/1.351, allocations: 268 kB / 1.485 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/1.363, allocations: 7.139 MB / 1.492 GB, free: 6.773 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001598/1.364, allocations: 1.775 MB / 1.494 GB, free: 4.992 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002925/1.367, allocations: 2.876 MB / 1.497 GB, free: 2.102 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0115/1.379, allocations: 10.41 MB / 1.507 GB, free: 7.66 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.379, allocations: 0 / 1.507 GB, free: 7.66 MB / 1.092 GB Notification: Performance of FrontEnd: time 7.92e-07/1.379, allocations: 0 / 1.507 GB, free: 7.66 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.028e-05/1.379, allocations: 0 / 1.507 GB, free: 7.66 MB / 1.092 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.009733/1.388, allocations: 6.453 MB / 1.513 GB, free: 1.094 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/1.388, allocations: 11.97 kB / 1.513 GB, free: 1.082 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005358/1.389, allocations: 476.1 kB / 1.514 GB, free: 0.6055 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/1.401, allocations: 2.01 MB / 1.515 GB, free: 14.59 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008568/1.409, allocations: 5.608 MB / 1.521 GB, free: 8.898 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001416/1.411, allocations: 0.6064 MB / 1.522 GB, free: 8.266 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004699/1.411, allocations: 347.9 kB / 1.522 GB, free: 7.926 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008147/1.419, allocations: 4.539 MB / 1.526 GB, free: 3.285 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/1.419, allocations: 4 kB / 1.526 GB, free: 3.281 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003183/1.42, allocations: 147.9 kB / 1.526 GB, free: 3.137 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/1.42, allocations: 138.5 kB / 1.527 GB, free: 3 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008568/1.428, allocations: 4.038 MB / 1.531 GB, free: 14.95 MB / 1.123 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.02485/1.453, allocations: 19.29 MB / 1.549 GB, free: 10.27 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003825/1.457, allocations: 1.799 MB / 1.551 GB, free: 8.426 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002032/1.459, allocations: 0.9373 MB / 1.552 GB, free: 7.492 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006234/1.46, allocations: 409.6 kB / 1.552 GB, free: 7.02 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002342/1.462, allocations: 1.081 MB / 1.553 GB, free: 5.914 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00118/1.463, allocations: 173.7 kB / 1.554 GB, free: 5.742 MB / 1.139 GB Notification: Performance of pre-optimization done (n=131): time 2.965e-06/1.463, allocations: 0 / 1.554 GB, free: 5.742 MB / 1.139 GB Notification: Performance of matching and sorting (n=131): time 0.007097/1.47, allocations: 2.978 MB / 1.557 GB, free: 2.73 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/1.47, allocations: 149.8 kB / 1.557 GB, free: 2.555 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005338/1.476, allocations: 4.544 MB / 1.561 GB, free: 14.02 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/1.476, allocations: 61.69 kB / 1.561 GB, free: 13.95 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001729/1.478, allocations: 2.425 MB / 1.564 GB, free: 11.51 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003595/1.478, allocations: 477.4 kB / 1.564 GB, free: 11.04 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008799/1.479, allocations: 0.6859 MB / 1.565 GB, free: 10.34 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 7.866e-05/1.479, allocations: 305.1 kB / 1.565 GB, free: 10.04 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002932/1.482, allocations: 1.417 MB / 1.566 GB, free: 8.613 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003629/1.486, allocations: 2.56 MB / 1.569 GB, free: 5.547 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005691/1.491, allocations: 3.753 MB / 1.573 GB, free: 1.328 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/1.491, allocations: 8 kB / 1.573 GB, free: 1.32 MB / 1.154 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.007583/1.499, allocations: 4.36 MB / 1.577 GB, free: 12.94 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/1.499, allocations: 45.7 kB / 1.577 GB, free: 12.89 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/1.499, allocations: 32 kB / 1.577 GB, free: 12.86 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.574e-05/1.499, allocations: 48 kB / 1.577 GB, free: 12.81 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/1.502, allocations: 0.7414 MB / 1.578 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.075e-05/1.502, allocations: 75.72 kB / 1.578 GB, free: 12 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004005/1.506, allocations: 0.6596 MB / 1.578 GB, free: 11.33 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/1.506, allocations: 144 kB / 1.578 GB, free: 11.19 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0043/1.51, allocations: 2.571 MB / 1.581 GB, free: 8.613 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00366/1.514, allocations: 2.556 MB / 1.583 GB, free: 5.551 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005755/1.52, allocations: 3.744 MB / 1.587 GB, free: 1.344 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.29e-05/1.52, allocations: 8 kB / 1.587 GB, free: 1.336 MB / 1.17 GB Notification: Performance of matching and sorting (n=424) (initialization_lambda0): time 0.007683/1.528, allocations: 4.362 MB / 1.591 GB, free: 12.96 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/1.528, allocations: 57.67 kB / 1.591 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/1.528, allocations: 32 kB / 1.592 GB, free: 12.86 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.954e-05/1.528, allocations: 48 kB / 1.592 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/1.53, allocations: 0.7449 MB / 1.592 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.826e-05/1.53, allocations: 67.78 kB / 1.592 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003887/1.534, allocations: 0.5973 MB / 1.593 GB, free: 11.41 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/1.534, allocations: 140 kB / 1.593 GB, free: 11.27 MB / 1.186 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.0004642/1.535, allocations: 370 kB / 1.593 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005002/1.535, allocations: 442.4 kB / 1.594 GB, free: 10.47 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005016/1.54, allocations: 2.357 MB / 1.596 GB, free: 8.086 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.541, allocations: 16 kB / 1.596 GB, free: 8.07 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.541, allocations: 0 / 1.596 GB, free: 8.07 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003942/1.544, allocations: 1.96 MB / 1.598 GB, free: 6.023 MB / 1.186 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 postOpt removeSimpleEquations (simulation): time 0.01158/1.556, allocations: 6.935 MB / 1.605 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/1.556, allocations: 12.09 kB / 1.605 GB, free: 14.81 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/1.558, allocations: 343.5 kB / 1.605 GB, free: 14.48 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/1.558, allocations: 56.83 kB / 1.605 GB, free: 14.42 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.884e-05/1.558, allocations: 39.98 kB / 1.605 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/1.559, allocations: 1.448 MB / 1.607 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.559, allocations: 15.94 kB / 1.607 GB, free: 12.78 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006617/1.566, allocations: 3.456 MB / 1.61 GB, free: 9.156 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/1.567, allocations: 0.7024 MB / 1.611 GB, free: 8.43 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004691/1.567, allocations: 43.98 kB / 1.611 GB, free: 8.387 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0027/1.57, allocations: 339.5 kB / 1.611 GB, free: 8.055 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/1.57, allocations: 128.6 kB / 1.611 GB, free: 7.93 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/1.57, allocations: 59.97 kB / 1.611 GB, free: 7.871 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003926/1.574, allocations: 3.043 MB / 1.614 GB, free: 4.844 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.7e-07/1.574, allocations: 0 / 1.614 GB, free: 4.844 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004894/1.579, allocations: 2.337 MB / 1.617 GB, free: 2.5 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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.007826/1.587, allocations: 4.523 MB / 1.621 GB, free: 13.81 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00917/1.596, allocations: 4.97 MB / 1.626 GB, free: 8.836 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.596, allocations: 4 kB / 1.626 GB, free: 8.832 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002336/1.599, allocations: 1.089 MB / 1.627 GB, free: 7.734 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007052/1.606, allocations: 1.986 MB / 1.629 GB, free: 5.773 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07166/1.677, allocations: 41.66 MB / 1.67 GB, free: 8.473 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002642/1.68, allocations: 3.023 MB / 1.672 GB, free: 5.418 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.005089/1.685, allocations: 1.308 MB / 1.674 GB, free: 4.105 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002555/1.688, allocations: 2.104 MB / 1.676 GB, free: 2 MB / 1.264 GB Notification: Performance of SimCode: time 5.41e-07/1.688, allocations: 0 / 1.676 GB, free: 2 MB / 1.264 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).