Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="BuildSysPro_BuildSysPro_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.0008686/0.0008688, allocations: 97.8 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.004763/0.004763, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.177/1.177, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.869/0.869, allocations: 143.2 MB / 434.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002574, allocations: 12 kB / 0.5165 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1226, allocations: 83.42 MB / 0.598 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7604/0.8831, allocations: 336.5 MB / 0.9266 GB, free: 16.63 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03544/0.9186, allocations: 38.35 MB / 0.9641 GB, free: 15.84 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004256/0.9228, allocations: 120.1 kB / 0.9642 GB, free: 15.84 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.008599/0.9315, allocations: 5.215 MB / 0.9693 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01136/0.9428, allocations: 5.43 MB / 0.9746 GB, free: 14 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005799/0.9486, allocations: 2.788 MB / 0.9773 GB, free: 13.43 MB / 0.67 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.01215/0.9608, allocations: 14.39 MB / 0.9913 GB, free: 8.301 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003491/0.9643, allocations: 3.468 MB / 0.9947 GB, free: 4.906 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006671/0.971, allocations: 4.167 MB / 0.9988 GB, free: 1.887 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003611/0.9746, allocations: 2.609 MB / 1.001 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000283/0.9749, allocations: 132 kB / 1.001 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008805/0.9837, allocations: 5.926 MB / 1.007 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009979/0.9847, allocations: 1.119 MB / 1.008 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001896/0.9866, allocations: 1.945 MB / 1.01 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008143/0.9948, allocations: 7.948 MB / 1.018 GB, free: 336 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.9948, allocations: 0 / 1.018 GB, free: 336 kB / 0.6856 GB Notification: Performance of FrontEnd: time 2.414e-06/0.9948, allocations: 4 kB / 1.018 GB, free: 332 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.744e-05/0.9948, allocations: 3.938 kB / 1.018 GB, free: 328 kB / 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.005904/1.001, allocations: 4.03 MB / 1.022 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/1.001, allocations: 11.97 kB / 1.022 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003775/1.001, allocations: 362.5 kB / 1.022 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007578/1.009, allocations: 1.58 MB / 1.024 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005251/1.014, allocations: 3.725 MB / 1.027 GB, free: 6.633 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/1.015, allocations: 486.2 kB / 1.028 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003516/1.015, allocations: 259.2 kB / 1.028 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005689/1.021, allocations: 3.441 MB / 1.032 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/1.021, allocations: 4 kB / 1.032 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/1.021, allocations: 106.8 kB / 1.032 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.294e-05/1.022, allocations: 112.8 kB / 1.032 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006237/1.028, allocations: 3.119 MB / 1.035 GB, free: 14.99 MB / 0.7169 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.01722/1.045, allocations: 14.55 MB / 1.049 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/1.048, allocations: 1.628 MB / 1.051 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/1.05, allocations: 0.7121 MB / 1.051 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003267/1.05, allocations: 303.9 kB / 1.052 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001666/1.052, allocations: 0.841 MB / 1.052 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007993/1.053, allocations: 122.4 kB / 1.053 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=105): time 2.264e-06/1.053, allocations: 0 / 1.053 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=105): time 0.005124/1.058, allocations: 2.259 MB / 1.055 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/1.058, allocations: 115.8 kB / 1.055 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003665/1.061, allocations: 3.132 MB / 1.058 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/1.062, allocations: 54.95 kB / 1.058 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/1.063, allocations: 1.736 MB / 1.06 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/1.063, allocations: 384.7 kB / 1.06 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/1.063, allocations: 210.1 kB / 1.06 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.006e-05/1.063, allocations: 305.1 kB / 1.061 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/1.065, allocations: 0.9723 MB / 1.061 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002534/1.068, allocations: 1.766 MB / 1.063 GB, free: 480 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/1.072, allocations: 2.571 MB / 1.066 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/1.072, allocations: 4 kB / 1.066 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.005572/1.078, allocations: 3.033 MB / 1.069 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003748/1.078, allocations: 0.7702 MB / 1.069 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/1.078, allocations: 24 kB / 1.069 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/1.078, allocations: 32 kB / 1.069 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/1.08, allocations: 0.5343 MB / 1.07 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-05/1.08, allocations: 55.8 kB / 1.07 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003125/1.083, allocations: 494.8 kB / 1.071 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/1.083, allocations: 108 kB / 1.071 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.162e-06/1.083, allocations: 7.938 kB / 1.071 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005057/1.088, allocations: 2.737 MB / 1.073 GB, free: 5.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/1.088, allocations: 20 kB / 1.073 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/1.089, allocations: 36.56 kB / 1.073 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/1.09, allocations: 0.5421 MB / 1.074 GB, free: 4.883 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.298e-05/1.09, allocations: 43.86 kB / 1.074 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/1.093, allocations: 421.7 kB / 1.074 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/1.093, allocations: 95.98 kB / 1.074 GB, free: 4.336 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (252): * Single equations (assignments): 248 * 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.001426/1.095, allocations: 1.012 MB / 1.075 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/1.095, allocations: 308.1 kB / 1.076 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00361/1.099, allocations: 1.718 MB / 1.077 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.099, allocations: 15.94 kB / 1.077 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.099, allocations: 0 / 1.077 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002799/1.101, allocations: 1.352 MB / 1.079 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00751/1.109, allocations: 4.766 MB / 1.083 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.109, allocations: 8 kB / 1.083 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.11, allocations: 252.2 kB / 1.084 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/1.11, allocations: 56.77 kB / 1.084 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-05/1.11, allocations: 35.92 kB / 1.084 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009715/1.111, allocations: 1.44 MB / 1.085 GB, free: 9.012 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.111, allocations: 11.22 kB / 1.085 GB, free: 9.004 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004675/1.116, allocations: 2.599 MB / 1.088 GB, free: 6.297 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007253/1.117, allocations: 0.5362 MB / 1.088 GB, free: 5.738 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/1.117, allocations: 32 kB / 1.088 GB, free: 5.707 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/1.119, allocations: 259.5 kB / 1.088 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/1.119, allocations: 96.36 kB / 1.089 GB, free: 5.359 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-05/1.119, allocations: 51.97 kB / 1.089 GB, free: 5.309 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002742/1.122, allocations: 2.111 MB / 1.091 GB, free: 3.211 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2e-07/1.122, allocations: 0 / 1.091 GB, free: 3.211 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003737/1.126, allocations: 1.737 MB / 1.092 GB, free: 1.469 MB / 0.7637 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.005826/1.132, allocations: 3.639 MB / 1.096 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006616/1.138, allocations: 3.528 MB / 1.099 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.138, allocations: 8 kB / 1.099 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001708/1.14, allocations: 0.8512 MB / 1.1 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008083/1.148, allocations: 1.382 MB / 1.102 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04606/1.194, allocations: 27.88 MB / 1.129 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/1.196, allocations: 2.315 MB / 1.131 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003419/1.2, allocations: 0.888 MB / 1.132 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/1.201, allocations: 1.452 MB / 1.133 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of SimCode: time 5.01e-07/1.201, allocations: 0 / 1.133 GB, free: 5.145 MB / 0.8106 GB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).