Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008265/0.0008265, allocations: 101.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009276/0.0009276, allocations: 179.9 kB / 16.59 MB, free: 6.125 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.465/1.465, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.518/2.518, allocations: 390.4 MB / 0.6662 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9434/0.9438, allocations: 142.3 MB / 0.9544 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.224/2.168, allocations: 347.1 MB / 1.293 GB, free: 25.58 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05698/2.225, allocations: 41.45 MB / 1.334 GB, free: 25.01 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009241/2.234, allocations: 139.3 kB / 1.334 GB, free: 25.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007994/2.242, allocations: 1.794 MB / 1.336 GB, free: 24.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02067/2.263, allocations: 5.301 MB / 1.341 GB, free: 24.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0133/2.276, allocations: 2.786 MB / 1.344 GB, free: 24.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0206/2.297, allocations: 13.07 MB / 1.356 GB, free: 24.63 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00805/2.305, allocations: 3.936 MB / 1.36 GB, free: 24.08 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01438/2.319, allocations: 4.855 MB / 1.365 GB, free: 24.03 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008249/2.328, allocations: 3.282 MB / 1.368 GB, free: 23.54 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001623/2.329, allocations: 171.1 kB / 1.368 GB, free: 23.54 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01291/2.342, allocations: 3.358 MB / 1.372 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003472/2.346, allocations: 1.33 MB / 1.373 GB, free: 22.39 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003026/2.349, allocations: 1.001 MB / 1.374 GB, free: 22.36 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01163/2.36, allocations: 6.618 MB / 1.38 GB, free: 18.99 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/2.361, allocations: 0 / 1.38 GB, free: 18.99 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.374e-06/2.361, allocations: 0 / 1.38 GB, free: 18.99 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002653/2.361, allocations: 0 / 1.38 GB, free: 18.99 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01165/2.372, allocations: 4.763 MB / 1.385 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/2.373, allocations: 9.719 kB / 1.385 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/2.384, allocations: 2.085 MB / 1.387 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009529/2.394, allocations: 3.486 MB / 1.39 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00163/2.396, allocations: 0.6922 MB / 1.391 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/2.397, allocations: 348.8 kB / 1.391 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/2.407, allocations: 4.676 MB / 1.396 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-05/2.407, allocations: 3.406 kB / 1.396 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003629/2.408, allocations: 134.1 kB / 1.396 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/2.408, allocations: 141.9 kB / 1.396 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009617/2.417, allocations: 4.326 MB / 1.401 GB, free: 11.54 MB / 0.9981 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.02876/2.446, allocations: 18.94 MB / 1.419 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004727/2.451, allocations: 2.207 MB / 1.421 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/2.454, allocations: 1.146 MB / 1.422 GB, free: 9.828 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007624/2.454, allocations: 452.6 kB / 1.423 GB, free: 9.328 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002867/2.457, allocations: 1.344 MB / 1.424 GB, free: 8.281 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002877/2.46, allocations: 168.5 kB / 1.424 GB, free: 8.137 MB / 1.014 GB Notification: Performance of pre-optimization done (n=135): time 8.526e-06/2.46, allocations: 2.625 kB / 1.424 GB, free: 8.137 MB / 1.014 GB Notification: Performance of matching and sorting (n=135): time 0.01002/2.47, allocations: 3.501 MB / 1.428 GB, free: 5.367 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/2.47, allocations: 148.7 kB / 1.428 GB, free: 5.195 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006456/2.477, allocations: 3.674 MB / 1.431 GB, free: 2.492 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.00043/2.477, allocations: 61.38 kB / 1.431 GB, free: 2.449 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002053/2.479, allocations: 2.005 MB / 1.433 GB, free: 1.359 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007533/2.48, allocations: 478.4 kB / 1.434 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/2.48, allocations: 37.5 kB / 1.434 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001875/2.48, allocations: 373.1 kB / 1.434 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003018/2.483, allocations: 1.212 MB / 1.435 GB, free: 15.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003604/2.487, allocations: 1.844 MB / 1.437 GB, free: 13.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003202/2.49, allocations: 1.364 MB / 1.439 GB, free: 12.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/2.49, allocations: 4 kB / 1.439 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.008463/2.499, allocations: 3.37 MB / 1.442 GB, free: 10.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004971/2.499, allocations: 0.5926 MB / 1.442 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/2.499, allocations: 20 kB / 1.442 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-05/2.499, allocations: 28 kB / 1.442 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/2.502, allocations: 0.5997 MB / 1.443 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.576e-05/2.502, allocations: 37.98 kB / 1.443 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005479/2.508, allocations: 0.6679 MB / 1.444 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000308/2.508, allocations: 94.47 kB / 1.444 GB, free: 8.289 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/2.508, allocations: 7.984 kB / 1.444 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007324/2.515, allocations: 3.014 MB / 1.447 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.706e-05/2.515, allocations: 16 kB / 1.447 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.788e-05/2.515, allocations: 28.62 kB / 1.447 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/2.518, allocations: 0.598 MB / 1.447 GB, free: 5.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.917e-05/2.518, allocations: 39.81 kB / 1.447 GB, free: 5.457 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005289/2.524, allocations: 0.5911 MB / 1.448 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003019/2.524, allocations: 91.22 kB / 1.448 GB, free: 4.824 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 223 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003258/2.527, allocations: 1.125 MB / 1.449 GB, free: 4.086 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/2.529, allocations: 367.4 kB / 1.45 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007177/2.536, allocations: 2.76 MB / 1.452 GB, free: 1.684 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/2.536, allocations: 12 kB / 1.452 GB, free: 1.672 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/2.536, allocations: 0 / 1.452 GB, free: 1.672 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004981/2.541, allocations: 2.334 MB / 1.455 GB, free: 15.75 MB / 1.045 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.01857/2.56, allocations: 7.229 MB / 1.462 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/2.56, allocations: 12.09 kB / 1.462 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/2.562, allocations: 398.6 kB / 1.462 GB, free: 9.914 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002819/2.562, allocations: 60.39 kB / 1.462 GB, free: 9.863 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/2.562, allocations: 44.47 kB / 1.462 GB, free: 9.836 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/2.564, allocations: 1.446 MB / 1.463 GB, free: 8.375 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.712e-05/2.564, allocations: 11.94 kB / 1.463 GB, free: 8.363 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009665/2.573, allocations: 4.026 MB / 1.467 GB, free: 5.145 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002861/2.576, allocations: 0.6977 MB / 1.468 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001415/2.578, allocations: 36.48 kB / 1.468 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004535/2.582, allocations: 432.7 kB / 1.469 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/2.583, allocations: 122 kB / 1.469 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002473/2.583, allocations: 69.45 kB / 1.469 GB, free: 4.004 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.006342/2.589, allocations: 2.541 MB / 1.471 GB, free: 2.18 MB / 1.045 GB Notification: Performance of sort global known variables: time 4e-07/2.589, allocations: 1.969 kB / 1.471 GB, free: 2.18 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.008854/2.598, allocations: 2.026 MB / 1.473 GB, free: 244 kB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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 (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001729/2.6, allocations: 0.5001 MB / 1.474 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01192/2.612, allocations: 4.234 MB / 1.478 GB, free: 12.49 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/2.612, allocations: 0 / 1.478 GB, free: 12.49 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003457/2.615, allocations: 1.25 MB / 1.479 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01353/2.629, allocations: 1.919 MB / 1.481 GB, free: 9.918 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02548/2.654, allocations: 9.527 MB / 1.49 GB, free: 1.078 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004646/2.659, allocations: 2.65 MB / 1.493 GB, free: 14.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001929/2.661, allocations: 284.1 kB / 1.493 GB, free: 14.33 MB / 1.076 GB Notification: Performance of SimCode: time 1.613e-06/2.661, allocations: 0 / 1.493 GB, free: 14.33 MB / 1.076 GB Notification: Performance of Templates: time 0.1413/2.803, allocations: 77.36 MB / 1.569 GB, free: 2.383 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile make -j1 -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaustCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaustCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaustCalcHelperMain.o] Error 1