Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.ThermalZoneHVACWithExhaust,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0008909/0.0008908, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005219/0.005219, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.188/1.188, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.8642/0.8642, allocations: 143.2 MB / 434.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.0002669, allocations: 12 kB / 0.5165 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1227, allocations: 83.41 MB / 0.598 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7972/0.92, allocations: 373.4 MB / 0.9626 GB, free: 1.035 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04116/0.9611, allocations: 46.47 MB / 1.008 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005348/0.9665, allocations: 152.2 kB / 1.008 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0126/0.9791, allocations: 8.133 MB / 1.016 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01537/0.9945, allocations: 6.887 MB / 1.023 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007676/1.002, allocations: 3.509 MB / 1.026 GB, free: 0.8047 MB / 0.6856 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‘ [/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.0108}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02147/1.024, allocations: 21.47 MB / 1.047 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005708/1.029, allocations: 4.608 MB / 1.052 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009753/1.039, allocations: 5.336 MB / 1.057 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00548/1.045, allocations: 3.556 MB / 1.06 GB, free: 156 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000434/1.045, allocations: 176 kB / 1.061 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01065/1.056, allocations: 7.047 MB / 1.067 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001452/1.057, allocations: 1.621 MB / 1.069 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002684/1.06, allocations: 2.71 MB / 1.072 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01106/1.071, allocations: 10.68 MB / 1.082 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/1.071, allocations: 0 / 1.082 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.643e-06/1.071, allocations: 0 / 1.082 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.049e-05/1.071, allocations: 4 kB / 1.082 GB, free: 11.09 MB / 0.7481 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.007903/1.079, allocations: 5.428 MB / 1.087 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/1.079, allocations: 8.031 kB / 1.087 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005121/1.08, allocations: 472.1 kB / 1.088 GB, free: 5.137 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/1.09, allocations: 2.142 MB / 1.09 GB, free: 2.992 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007526/1.098, allocations: 5.577 MB / 1.095 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001342/1.099, allocations: 0.6371 MB / 1.096 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004535/1.099, allocations: 343.8 kB / 1.096 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007514/1.107, allocations: 4.607 MB / 1.101 GB, free: 7.742 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-05/1.107, allocations: 7.938 kB / 1.101 GB, free: 7.734 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002983/1.107, allocations: 136 kB / 1.101 GB, free: 7.602 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/1.107, allocations: 142.4 kB / 1.101 GB, free: 7.461 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008389/1.116, allocations: 4.179 MB / 1.105 GB, free: 3.273 MB / 0.7637 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.0231/1.139, allocations: 19.47 MB / 1.124 GB, free: 14.59 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003877/1.143, allocations: 1.869 MB / 1.126 GB, free: 12.67 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/1.145, allocations: 0.9534 MB / 1.127 GB, free: 11.72 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005501/1.145, allocations: 412.1 kB / 1.127 GB, free: 11.25 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002337/1.148, allocations: 1.128 MB / 1.128 GB, free: 10.1 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001201/1.149, allocations: 169.8 kB / 1.129 GB, free: 9.93 MB / 0.795 GB Notification: Performance of pre-optimization done (n=131): time 5.29e-06/1.149, allocations: 3.984 kB / 1.129 GB, free: 9.926 MB / 0.795 GB Notification: Performance of matching and sorting (n=131): time 0.007268/1.156, allocations: 3.06 MB / 1.132 GB, free: 6.832 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/1.156, allocations: 149.8 kB / 1.132 GB, free: 6.656 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005291/1.162, allocations: 4.609 MB / 1.136 GB, free: 2.059 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/1.162, allocations: 57.7 kB / 1.136 GB, free: 1.996 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001642/1.163, allocations: 2.446 MB / 1.139 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/1.164, allocations: 483 kB / 1.139 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/1.164, allocations: 320.7 kB / 1.139 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.51e-05/1.164, allocations: 305.1 kB / 1.14 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/1.167, allocations: 1.435 MB / 1.141 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003597/1.171, allocations: 2.593 MB / 1.144 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005891/1.177, allocations: 3.812 MB / 1.147 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/1.177, allocations: 8 kB / 1.147 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.00773/1.184, allocations: 4.427 MB / 1.152 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005319/1.185, allocations: 1.109 MB / 1.153 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/1.185, allocations: 36.86 kB / 1.153 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.356e-05/1.185, allocations: 52 kB / 1.153 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/1.188, allocations: 0.7567 MB / 1.154 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.903e-05/1.188, allocations: 67.73 kB / 1.154 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/1.192, allocations: 0.6822 MB / 1.154 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/1.192, allocations: 143.8 kB / 1.155 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.092e-06/1.192, allocations: 4 kB / 1.155 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007155/1.199, allocations: 4.008 MB / 1.158 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/1.199, allocations: 32.72 kB / 1.158 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.449e-05/1.199, allocations: 52 kB / 1.159 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/1.202, allocations: 0.7567 MB / 1.159 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-05/1.202, allocations: 71.72 kB / 1.159 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/1.205, allocations: 0.5713 MB / 1.16 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/1.206, allocations: 147.9 kB / 1.16 GB, free: 8.246 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * 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 (359): * Single equations (assignments): 353 * 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.001875/1.207, allocations: 1.404 MB / 1.161 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004249/1.208, allocations: 430.4 kB / 1.162 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005112/1.213, allocations: 2.428 MB / 1.164 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/1.213, allocations: 12 kB / 1.164 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.213, allocations: 0 / 1.164 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00412/1.217, allocations: 2.011 MB / 1.166 GB, free: 1.84 MB / 0.8262 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.2214/1.439, allocations: 7.064 MB / 1.173 GB, free: 347.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.439, allocations: 10.06 kB / 1.173 GB, free: 347.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.44, allocations: 358.9 kB / 1.173 GB, free: 347.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001854/1.44, allocations: 52.7 kB / 1.173 GB, free: 347.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-05/1.44, allocations: 46.14 kB / 1.174 GB, free: 347.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007716/1.441, allocations: 1.433 MB / 1.175 GB, free: 346 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.441, allocations: 15.22 kB / 1.175 GB, free: 346 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006476/1.448, allocations: 3.545 MB / 1.178 GB, free: 345.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.449, allocations: 0.7206 MB / 1.179 GB, free: 345.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000399/1.449, allocations: 39.27 kB / 1.179 GB, free: 345.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/1.452, allocations: 360.3 kB / 1.179 GB, free: 345.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/1.452, allocations: 121.5 kB / 1.18 GB, free: 345.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/1.452, allocations: 66.2 kB / 1.18 GB, free: 345.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00354/1.456, allocations: 3.087 MB / 1.183 GB, free: 345 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/1.456, allocations: 0 / 1.183 GB, free: 345 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004259/1.46, allocations: 2.351 MB / 1.185 GB, free: 344.8 MB / 0.8262 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.007027/1.467, allocations: 4.637 MB / 1.189 GB, free: 342.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.008704/1.476, allocations: 5.065 MB / 1.194 GB, free: 340.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.476, allocations: 6.562 kB / 1.194 GB, free: 340.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/1.478, allocations: 1.106 MB / 1.196 GB, free: 340.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0142/1.492, allocations: 2.002 MB / 1.197 GB, free: 340.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06828/1.561, allocations: 42.44 MB / 1.239 GB, free: 313.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002742/1.563, allocations: 3.031 MB / 1.242 GB, free: 312.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005004/1.569, allocations: 1.311 MB / 1.243 GB, free: 312.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00213/1.571, allocations: 2.114 MB / 1.245 GB, free: 310.5 MB / 0.8262 GB Notification: Performance of SimCode: time 7.31e-07/1.571, allocations: 0 / 1.245 GB, free: 310.5 MB / 0.8262 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).