Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IBPSA_latest_IBPSA_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.001046/0.001046, allocations: 106.4 kB / 15.98 MB, free: 6.355 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.0009923/0.0009923, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.259/1.259, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6834/0.6834, allocations: 115.3 MB / 406.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.91 kB / 493.2 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2761, allocations: 76.18 MB / 0.556 GB, free: 36.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.5033/0.7794, allocations: 339 MB / 0.8871 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0417/0.8212, allocations: 38.1 MB / 0.9243 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003892/0.8251, allocations: 127.2 kB / 0.9244 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01025/0.8354, allocations: 5.453 MB / 0.9297 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01225/0.8476, allocations: 5.426 MB / 0.935 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005945/0.8536, allocations: 2.82 MB / 0.9378 GB, free: 14.89 MB / 0.6544 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‘ Notification: Performance of NFFlatten.flatten: time 0.01229/0.8659, allocations: 11.54 MB / 0.949 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004802/0.8707, allocations: 4.143 MB / 0.9531 GB, free: 15.09 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008106/0.8788, allocations: 4.9 MB / 0.9579 GB, free: 10.17 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004754/0.8836, allocations: 2.927 MB / 0.9607 GB, free: 7.25 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007843/0.8844, allocations: 376 kB / 0.9611 GB, free: 6.883 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008352/0.8927, allocations: 5.545 MB / 0.9665 GB, free: 1.324 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.8943, allocations: 1.414 MB / 0.9679 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002842/0.8971, allocations: 2.259 MB / 0.9701 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009188/0.9063, allocations: 7.93 MB / 0.9778 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.9063, allocations: 3.984 kB / 0.9778 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9063, allocations: 0 / 0.9778 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.77e-05/0.9064, allocations: 0 / 0.9778 GB, free: 5.68 MB / 0.6856 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.007067/0.9134, allocations: 4.783 MB / 0.9825 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.9135, allocations: 12.03 kB / 0.9825 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004096/0.9139, allocations: 358.5 kB / 0.9829 GB, free: 440 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008046/0.922, allocations: 1.486 MB / 0.9843 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005611/0.9276, allocations: 3.737 MB / 0.988 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009817/0.9286, allocations: 465.9 kB / 0.9884 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003406/0.9289, allocations: 260 kB / 0.9887 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005695/0.9346, allocations: 3.387 MB / 0.992 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-05/0.9347, allocations: 7.938 kB / 0.992 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.9349, allocations: 104 kB / 0.9921 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.427e-05/0.935, allocations: 100.9 kB / 0.9922 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00616/0.9412, allocations: 3.037 MB / 0.9951 GB, free: 3.648 MB / 0.7012 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.01766/0.9589, allocations: 14.44 MB / 1.009 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003172/0.962, allocations: 1.595 MB / 1.011 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.9635, allocations: 0.6992 MB / 1.011 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003574/0.9638, allocations: 296.5 kB / 1.012 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001669/0.9655, allocations: 0.8216 MB / 1.013 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007398/0.9663, allocations: 134.4 kB / 1.013 GB, free: 488 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=105): time 3.316e-06/0.9663, allocations: 7.938 kB / 1.013 GB, free: 480 kB / 0.7169 GB Notification: Performance of matching and sorting (n=105): time 0.005132/0.9714, allocations: 2.201 MB / 1.015 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.9715, allocations: 119.8 kB / 1.015 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.9752, allocations: 3.092 MB / 1.018 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.9753, allocations: 53.7 kB / 1.018 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.9764, allocations: 1.722 MB / 1.02 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.9767, allocations: 382.7 kB / 1.02 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006111/0.9773, allocations: 475.3 kB / 1.021 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.9774, allocations: 309.1 kB / 1.021 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/0.9795, allocations: 0.9658 MB / 1.022 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/0.982, allocations: 1.722 MB / 1.023 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004058/0.9861, allocations: 2.538 MB / 1.026 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.9861, allocations: 8 kB / 1.026 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.1934/1.18, allocations: 2.975 MB / 1.029 GB, free: 317.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/1.18, allocations: 44.8 kB / 1.029 GB, free: 317.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-05/1.18, allocations: 23.36 kB / 1.029 GB, free: 317.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.714e-05/1.18, allocations: 32.03 kB / 1.029 GB, free: 317.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/1.182, allocations: 0.5212 MB / 1.029 GB, free: 317.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-05/1.182, allocations: 49.88 kB / 1.029 GB, free: 317.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003356/1.185, allocations: 483.6 kB / 1.03 GB, free: 317.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/1.185, allocations: 100.6 kB / 1.03 GB, free: 317.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003193/1.189, allocations: 1.765 MB / 1.032 GB, free: 317 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002368/1.191, allocations: 1.732 MB / 1.033 GB, free: 315.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003661/1.195, allocations: 2.53 MB / 1.036 GB, free: 314.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.157e-05/1.195, allocations: 6.344 kB / 1.036 GB, free: 314.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=284) (initialization_lambda0): time 0.005427/1.2, allocations: 2.976 MB / 1.039 GB, free: 313.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/1.2, allocations: 47.05 kB / 1.039 GB, free: 313.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/1.2, allocations: 21.83 kB / 1.039 GB, free: 313.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/1.2, allocations: 33.41 kB / 1.039 GB, free: 313.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/1.202, allocations: 0.5222 MB / 1.039 GB, free: 313.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-05/1.202, allocations: 50.89 kB / 1.04 GB, free: 313.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/1.205, allocations: 452.5 kB / 1.04 GB, free: 313.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/1.205, allocations: 99.06 kB / 1.04 GB, free: 313.3 MB / 0.7325 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.000387/1.206, allocations: 313.8 kB / 1.04 GB, free: 313 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/1.206, allocations: 306.2 kB / 1.041 GB, free: 313 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003622/1.21, allocations: 1.693 MB / 1.042 GB, free: 312.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/1.21, allocations: 10.38 kB / 1.042 GB, free: 312.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.21, allocations: 5.641 kB / 1.042 GB, free: 312.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00265/1.212, allocations: 1.318 MB / 1.044 GB, free: 311.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007355/1.22, allocations: 4.609 MB / 1.048 GB, free: 309.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.22, allocations: 6.031 kB / 1.048 GB, free: 309.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.221, allocations: 252.1 kB / 1.048 GB, free: 309.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001914/1.221, allocations: 52.94 kB / 1.048 GB, free: 309.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.24e-05/1.221, allocations: 34.23 kB / 1.048 GB, free: 309.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008648/1.222, allocations: 1.545 MB / 1.05 GB, free: 308.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.222, allocations: 11.72 kB / 1.05 GB, free: 308.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004529/1.227, allocations: 2.544 MB / 1.052 GB, free: 307.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000784/1.228, allocations: 0.5257 MB / 1.053 GB, free: 306.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003391/1.228, allocations: 33.59 kB / 1.053 GB, free: 306.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/1.23, allocations: 246.9 kB / 1.053 GB, free: 306.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/1.23, allocations: 91.98 kB / 1.053 GB, free: 306.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/1.23, allocations: 51.73 kB / 1.053 GB, free: 306.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002791/1.233, allocations: 2.081 MB / 1.055 GB, free: 306 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.233, allocations: 0 / 1.055 GB, free: 306 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004022/1.237, allocations: 1.736 MB / 1.057 GB, free: 305.8 MB / 0.7325 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.005583/1.243, allocations: 3.581 MB / 1.061 GB, free: 304 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006416/1.249, allocations: 3.612 MB / 1.064 GB, free: 302.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.249, allocations: 0 / 1.064 GB, free: 302.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/1.251, allocations: 0.8244 MB / 1.065 GB, free: 302.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004863/1.256, allocations: 1.462 MB / 1.066 GB, free: 302.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03838/1.294, allocations: 27.44 MB / 1.093 GB, free: 278.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/1.295, allocations: 2.307 MB / 1.095 GB, free: 276.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003298/1.299, allocations: 0.8817 MB / 1.096 GB, free: 275.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/1.3, allocations: 1.448 MB / 1.098 GB, free: 274.1 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/1.3, allocations: 0 / 1.098 GB, free: 274.1 MB / 0.7325 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: IBPSA.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).