Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="BuildingSystems_BuildingSystems_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.0007572/0.0007573, allocations: 98.19 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.004724/0.004724, allocations: 168.8 kB / 16.26 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.271/1.271, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001748, allocations: 269.7 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.916/0.916, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.000387, allocations: 14.7 kB / 0.5988 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.13, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.5514/0.6814, allocations: 336.2 MB / 1.014 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.3776/1.059, allocations: 38.18 MB / 1.051 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003889/1.063, allocations: 120.7 kB / 1.051 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.009702/1.073, allocations: 5.196 MB / 1.056 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01159/1.084, allocations: 5.438 MB / 1.061 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005872/1.09, allocations: 2.776 MB / 1.064 GB, free: 16.48 MB / 0.7481 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.01485/1.105, allocations: 14.36 MB / 1.078 GB, free: 16.43 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004672/1.11, allocations: 3.451 MB / 1.081 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007513/1.117, allocations: 4.16 MB / 1.085 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004361/1.122, allocations: 2.605 MB / 1.088 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003379/1.122, allocations: 124.9 kB / 1.088 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008619/1.131, allocations: 5.931 MB / 1.094 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001025/1.132, allocations: 1.105 MB / 1.095 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001994/1.134, allocations: 1.942 MB / 1.097 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007949/1.142, allocations: 7.611 MB / 1.104 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/1.142, allocations: 0 / 1.104 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.984e-06/1.142, allocations: 0 / 1.104 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.137e-05/1.142, allocations: 2.531 kB / 1.104 GB, free: 14.6 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: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.005829/1.148, allocations: 4.013 MB / 1.108 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/1.148, allocations: 7.656 kB / 1.108 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003859/1.148, allocations: 363.1 kB / 1.109 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007793/1.156, allocations: 1.581 MB / 1.11 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005243/1.161, allocations: 3.755 MB / 1.114 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009954/1.162, allocations: 488.1 kB / 1.114 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003373/1.162, allocations: 261.2 kB / 1.115 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005463/1.168, allocations: 3.43 MB / 1.118 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.768e-05/1.168, allocations: 0 / 1.118 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002364/1.168, allocations: 105.2 kB / 1.118 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.663e-05/1.168, allocations: 112 kB / 1.118 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006001/1.174, allocations: 3.104 MB / 1.121 GB, free: 8.145 MB / 0.7481 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.01654/1.191, allocations: 14.47 MB / 1.135 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/1.194, allocations: 1.627 MB / 1.137 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/1.195, allocations: 0.7075 MB / 1.138 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000346/1.196, allocations: 297.7 kB / 1.138 GB, free: 14 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001633/1.197, allocations: 0.8368 MB / 1.139 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009271/1.198, allocations: 119.1 kB / 1.139 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=105): time 2.594e-06/1.198, allocations: 0 / 1.139 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of matching and sorting (n=105): time 0.005079/1.203, allocations: 2.224 MB / 1.141 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/1.204, allocations: 127.6 kB / 1.141 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003846/1.207, allocations: 3.086 MB / 1.144 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/1.208, allocations: 56.75 kB / 1.144 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/1.209, allocations: 1.726 MB / 1.146 GB, free: 9.914 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000289/1.209, allocations: 382.9 kB / 1.146 GB, free: 9.602 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/1.209, allocations: 210.6 kB / 1.146 GB, free: 9.465 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 7.437e-05/1.209, allocations: 301.1 kB / 1.147 GB, free: 9.168 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002146/1.211, allocations: 0.9591 MB / 1.148 GB, free: 8.484 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002606/1.214, allocations: 1.739 MB / 1.149 GB, free: 6.762 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004106/1.218, allocations: 2.547 MB / 1.152 GB, free: 4.641 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/1.218, allocations: 8 kB / 1.152 GB, free: 4.633 MB / 0.7637 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005646/1.224, allocations: 2.988 MB / 1.155 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004118/1.224, allocations: 0.7607 MB / 1.155 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/1.224, allocations: 24 kB / 1.155 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/1.224, allocations: 36 kB / 1.156 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/1.226, allocations: 0.5267 MB / 1.156 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.515e-05/1.227, allocations: 45.83 kB / 1.156 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/1.23, allocations: 498.9 kB / 1.157 GB, free: 464 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/1.23, allocations: 102 kB / 1.157 GB, free: 380 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.573e-06/1.23, allocations: 4 kB / 1.157 GB, free: 376 kB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005182/1.235, allocations: 2.698 MB / 1.159 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/1.235, allocations: 24.03 kB / 1.159 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/1.235, allocations: 36 kB / 1.159 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/1.237, allocations: 0.5183 MB / 1.16 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-05/1.237, allocations: 47.7 kB / 1.16 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/1.24, allocations: 413.6 kB / 1.16 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/1.24, allocations: 96.86 kB / 1.16 GB, free: 13.52 MB / 0.7794 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.001484/1.242, allocations: 1.003 MB / 1.161 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003516/1.242, allocations: 306.9 kB / 1.162 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/1.246, allocations: 1.707 MB / 1.163 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-06/1.246, allocations: 12 kB / 1.163 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/1.246, allocations: 8 kB / 1.163 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002876/1.249, allocations: 1.331 MB / 1.165 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007968/1.257, allocations: 4.715 MB / 1.169 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/1.257, allocations: 4 kB / 1.169 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/1.258, allocations: 258.8 kB / 1.169 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001952/1.258, allocations: 55.81 kB / 1.17 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.839e-05/1.258, allocations: 33.98 kB / 1.17 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/1.259, allocations: 1.436 MB / 1.171 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.259, allocations: 9.688 kB / 1.171 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0048/1.264, allocations: 2.557 MB / 1.173 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008731/1.265, allocations: 0.5307 MB / 1.174 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/1.265, allocations: 37.05 kB / 1.174 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/1.267, allocations: 253.9 kB / 1.174 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.268, allocations: 89.08 kB / 1.174 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.774e-05/1.268, allocations: 58.47 kB / 1.174 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002886/1.271, allocations: 2.074 MB / 1.176 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/1.271, allocations: 3.938 kB / 1.176 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004125/1.275, allocations: 1.743 MB / 1.178 GB, free: 15.09 MB / 0.795 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.0061/1.281, allocations: 3.594 MB / 1.182 GB, free: 12.06 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006981/1.288, allocations: 3.468 MB / 1.185 GB, free: 8.781 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.288, allocations: 4.688 kB / 1.185 GB, free: 8.777 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/1.29, allocations: 0.842 MB / 1.186 GB, free: 7.957 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008928/1.299, allocations: 1.376 MB / 1.187 GB, free: 6.594 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04764/1.346, allocations: 27.55 MB / 1.214 GB, free: 9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/1.348, allocations: 2.307 MB / 1.216 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003731/1.352, allocations: 0.8873 MB / 1.217 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/1.354, allocations: 1.44 MB / 1.219 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/1.354, allocations: 0 / 1.219 GB, free: 4.332 MB / 0.8262 GB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: BuildingSystems.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).