Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.ThermalZoneHVACWithExhaust,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="BuildingSystems_BuildingSystems_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.001118/0.001118, allocations: 97.56 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.008619/0.008619, allocations: 169 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.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001643/0.001643, allocations: 266.6 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.838/0.838, allocations: 169.5 MB / 0.5004 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 16.47 kB / 0.5988 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 88.55 MB / 0.6852 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.953/1.084, allocations: 372.8 MB / 1.049 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.04666/1.131, allocations: 46.31 MB / 1.095 GB, free: 16.34 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004829/1.136, allocations: 152.4 kB / 1.095 GB, free: 16.34 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.014/1.15, allocations: 8.116 MB / 1.103 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01454/1.164, allocations: 6.875 MB / 1.109 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006736/1.171, allocations: 3.506 MB / 1.113 GB, free: 15.77 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‘ [/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.02065/1.192, allocations: 21.39 MB / 1.134 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005402/1.197, allocations: 4.592 MB / 1.138 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008694/1.206, allocations: 5.32 MB / 1.143 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005742/1.212, allocations: 3.537 MB / 1.147 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004704/1.212, allocations: 170.3 kB / 1.147 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009816/1.222, allocations: 7.05 MB / 1.154 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001214/1.223, allocations: 1.614 MB / 1.155 GB, free: 9.758 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003198/1.226, allocations: 2.696 MB / 1.158 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01014/1.236, allocations: 10.18 MB / 1.168 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/1.236, allocations: 0 / 1.168 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.793e-06/1.236, allocations: 0 / 1.168 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.084e-05/1.237, allocations: 2.25 kB / 1.168 GB, free: 15.68 MB / 0.7637 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.007569/1.244, allocations: 5.385 MB / 1.173 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/1.244, allocations: 12.03 kB / 1.173 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004771/1.245, allocations: 472.9 kB / 1.174 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/1.255, allocations: 2.134 MB / 1.176 GB, free: 8.316 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007547/1.263, allocations: 5.635 MB / 1.181 GB, free: 4.027 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001736/1.264, allocations: 0.636 MB / 1.182 GB, free: 3.367 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007483/1.265, allocations: 344.9 kB / 1.182 GB, free: 3.035 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/1.276, allocations: 4.587 MB / 1.187 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.282e-05/1.276, allocations: 3.469 kB / 1.187 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003078/1.276, allocations: 140 kB / 1.187 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/1.276, allocations: 134.5 kB / 1.187 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008165/1.285, allocations: 4.125 MB / 1.191 GB, free: 9.977 MB / 0.7794 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.0244/1.309, allocations: 19.38 MB / 1.21 GB, free: 5.609 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005444/1.314, allocations: 1.812 MB / 1.212 GB, free: 3.762 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/1.316, allocations: 0.945 MB / 1.213 GB, free: 2.82 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005515/1.317, allocations: 412.1 kB / 1.213 GB, free: 2.352 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00224/1.319, allocations: 1.091 MB / 1.214 GB, free: 1.234 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001049/1.32, allocations: 173.7 kB / 1.214 GB, free: 1.062 MB / 0.795 GB Notification: Performance of pre-optimization done (n=131): time 3.586e-06/1.32, allocations: 4 kB / 1.214 GB, free: 1.059 MB / 0.795 GB Notification: Performance of matching and sorting (n=131): time 0.006878/1.327, allocations: 2.993 MB / 1.217 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/1.327, allocations: 145.8 kB / 1.217 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005095/1.332, allocations: 4.536 MB / 1.222 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001357/1.332, allocations: 61.7 kB / 1.222 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001599/1.334, allocations: 2.424 MB / 1.224 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/1.334, allocations: 487.3 kB / 1.225 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003264/1.335, allocations: 320.6 kB / 1.225 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.935e-05/1.335, allocations: 309.1 kB / 1.225 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002847/1.338, allocations: 1.407 MB / 1.227 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003465/1.341, allocations: 2.562 MB / 1.229 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007988/1.349, allocations: 3.768 MB / 1.233 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-05/1.349, allocations: 8 kB / 1.233 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.009219/1.358, allocations: 4.358 MB / 1.237 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005309/1.359, allocations: 1.099 MB / 1.238 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.974e-05/1.359, allocations: 32 kB / 1.238 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.583e-05/1.359, allocations: 51.94 kB / 1.238 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/1.362, allocations: 0.7463 MB / 1.239 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.991e-05/1.362, allocations: 72.81 kB / 1.239 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003946/1.366, allocations: 0.6688 MB / 1.24 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/1.366, allocations: 148 kB / 1.24 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.98e-06/1.366, allocations: 2.5 kB / 1.24 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00685/1.373, allocations: 3.961 MB / 1.244 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/1.373, allocations: 36.03 kB / 1.244 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/1.373, allocations: 48 kB / 1.244 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/1.375, allocations: 0.7396 MB / 1.244 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.765e-05/1.376, allocations: 70.88 kB / 1.245 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003261/1.379, allocations: 0.5534 MB / 1.245 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/1.379, allocations: 144 kB / 1.245 GB, free: 0.5938 MB / 0.8262 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.001754/1.381, allocations: 1.407 MB / 1.247 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004151/1.381, allocations: 426.5 kB / 1.247 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006793/1.388, allocations: 2.368 MB / 1.249 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/1.388, allocations: 16 kB / 1.249 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/1.388, allocations: 7.938 kB / 1.249 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006118/1.394, allocations: 1.963 MB / 1.251 GB, free: 10.34 MB / 0.8419 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.01087/1.405, allocations: 6.949 MB / 1.258 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.405, allocations: 12 kB / 1.258 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/1.407, allocations: 334.8 kB / 1.258 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001849/1.407, allocations: 64.38 kB / 1.258 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.595e-05/1.407, allocations: 51.91 kB / 1.259 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009846/1.408, allocations: 1.443 MB / 1.26 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.928e-06/1.408, allocations: 14.62 kB / 1.26 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006403/1.414, allocations: 3.473 MB / 1.263 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/1.415, allocations: 0.7063 MB / 1.264 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004101/1.416, allocations: 43.98 kB / 1.264 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002627/1.418, allocations: 347.5 kB / 1.264 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/1.419, allocations: 125.5 kB / 1.265 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.419, allocations: 59.97 kB / 1.265 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003741/1.422, allocations: 3.039 MB / 1.268 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/1.422, allocations: 0 / 1.268 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.007081/1.43, allocations: 2.341 MB / 1.27 GB, free: 7.004 MB / 0.8575 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.008851/1.438, allocations: 4.559 MB / 1.274 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.008919/1.447, allocations: 4.985 MB / 1.279 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.447, allocations: 4 kB / 1.279 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002281/1.45, allocations: 1.084 MB / 1.28 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01501/1.465, allocations: 1.992 MB / 1.282 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07479/1.539, allocations: 41.76 MB / 1.323 GB, free: 13.43 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/1.542, allocations: 3.03 MB / 1.326 GB, free: 10.38 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.007747/1.55, allocations: 1.303 MB / 1.327 GB, free: 9.07 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003528/1.553, allocations: 2.104 MB / 1.329 GB, free: 6.965 MB / 0.92 GB Notification: Performance of SimCode: time 7.01e-07/1.553, allocations: 0 / 1.329 GB, free: 6.965 MB / 0.92 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).