Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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: translateModel(BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000795/0.0007949, allocations: 98.48 kB / 16.02 MB, free: 76 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.0009836/0.0009836, allocations: 185.7 kB / 16.92 MB, free: 6.75 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.352/1.352, allocations: 223.2 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001867/0.001866, allocations: 266.4 kB / 292.3 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.9294/0.9294, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004624, allocations: 14.81 kB / 0.5993 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1815, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.6641/0.8456, allocations: 298.9 MB / 0.9777 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03331/0.879, allocations: 27.32 MB / 1.004 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002979/0.882, allocations: 67.62 kB / 1.004 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.008957/0.891, allocations: 4.422 MB / 1.009 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008/0.899, allocations: 2.734 MB / 1.011 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006077/0.9051, allocations: 2.379 MB / 1.014 GB, free: 15.68 MB / 0.7325 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.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01144/0.9165, allocations: 8.601 MB / 1.022 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003168/0.9197, allocations: 1.449 MB / 1.024 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004926/0.9247, allocations: 1.86 MB / 1.025 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.9274, allocations: 1.256 MB / 1.027 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003791/0.9278, allocations: 64 kB / 1.027 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006434/0.9343, allocations: 3.476 MB / 1.03 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000897/0.9352, allocations: 0.6111 MB / 1.031 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001803/0.937, allocations: 1.09 MB / 1.032 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004485/0.9415, allocations: 3.76 MB / 1.035 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9415, allocations: 0 / 1.035 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9415, allocations: 0 / 1.035 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001065/0.9416, allocations: 4 kB / 1.035 GB, free: 9.402 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.003878/0.9455, allocations: 2.288 MB / 1.038 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.9456, allocations: 12.03 kB / 1.038 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004043/0.9496, allocations: 0.7465 MB / 1.038 GB, free: 6.281 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00872/0.9584, allocations: 5.543 MB / 1.044 GB, free: 0.6836 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003782/0.9588, allocations: 154.1 kB / 1.044 GB, free: 0.5312 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.9589, allocations: 112 kB / 1.044 GB, free: 432 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3294/1.288, allocations: 1.381 MB / 1.045 GB, free: 282.2 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/1.288, allocations: 3.625 kB / 1.045 GB, free: 282.2 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/1.289, allocations: 48.91 kB / 1.045 GB, free: 282.2 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.79e-05/1.289, allocations: 40.8 kB / 1.045 GB, free: 282.2 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/1.291, allocations: 1.017 MB / 1.046 GB, free: 282.2 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.008529/1.3, allocations: 7.128 MB / 1.053 GB, free: 277.3 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008102/1.301, allocations: 316.1 kB / 1.054 GB, free: 277.2 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/1.301, allocations: 121.9 kB / 1.054 GB, free: 277.2 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/1.301, allocations: 188.9 kB / 1.054 GB, free: 277 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/1.301, allocations: 36.28 kB / 1.054 GB, free: 276.9 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005621/1.302, allocations: 88.75 kB / 1.054 GB, free: 276.9 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 2.505e-06/1.302, allocations: 0 / 1.054 GB, free: 276.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.00141/1.303, allocations: 0.5546 MB / 1.055 GB, free: 276.6 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/1.303, allocations: 57.19 kB / 1.055 GB, free: 276.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003338/1.307, allocations: 2.26 MB / 1.057 GB, free: 275.7 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/1.307, allocations: 32.58 kB / 1.057 GB, free: 275.7 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000701/1.308, allocations: 0.9671 MB / 1.058 GB, free: 274.9 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.054e-05/1.308, allocations: 81.5 kB / 1.058 GB, free: 274.8 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/1.308, allocations: 124.2 kB / 1.058 GB, free: 274.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.308, allocations: 354.2 kB / 1.058 GB, free: 274.5 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008888/1.309, allocations: 458.4 kB / 1.059 GB, free: 274.3 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/1.31, allocations: 0.8676 MB / 1.06 GB, free: 273.6 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/1.312, allocations: 1.183 MB / 1.061 GB, free: 272.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/1.312, allocations: 3.531 kB / 1.061 GB, free: 272.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003013/1.315, allocations: 1.498 MB / 1.062 GB, free: 272.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.000315/1.315, allocations: 476.1 kB / 1.063 GB, free: 271.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/1.315, allocations: 14.5 kB / 1.063 GB, free: 271.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.926e-05/1.315, allocations: 20.41 kB / 1.063 GB, free: 271.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009467/1.316, allocations: 238.1 kB / 1.063 GB, free: 271.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-05/1.316, allocations: 30.75 kB / 1.063 GB, free: 271.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/1.318, allocations: 157.1 kB / 1.063 GB, free: 271.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.523e-05/1.318, allocations: 50.19 kB / 1.063 GB, free: 271.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/1.318, allocations: 5.281 kB / 1.063 GB, free: 271.5 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002074/1.32, allocations: 1.266 MB / 1.065 GB, free: 271.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/1.32, allocations: 16.5 kB / 1.065 GB, free: 271.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.32, allocations: 17.44 kB / 1.065 GB, free: 271.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007435/1.321, allocations: 233.2 kB / 1.065 GB, free: 271 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/1.321, allocations: 25.91 kB / 1.065 GB, free: 271 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.322, allocations: 121.8 kB / 1.065 GB, free: 271 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/1.322, allocations: 53.7 kB / 1.065 GB, free: 271 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 0 * 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.001009/1.323, allocations: 0.6518 MB / 1.066 GB, free: 270.6 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/1.323, allocations: 195.3 kB / 1.066 GB, free: 270.4 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/1.323, allocations: 172 kB / 1.066 GB, free: 270.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.323, allocations: 2.562 kB / 1.066 GB, free: 270.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/1.323, allocations: 0 / 1.066 GB, free: 270.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.323, allocations: 5.109 kB / 1.066 GB, free: 270.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/1.326, allocations: 1.949 MB / 1.068 GB, free: 269.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.326, allocations: 9.625 kB / 1.068 GB, free: 269.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/1.327, allocations: 53.09 kB / 1.068 GB, free: 269.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.327, allocations: 4.172 kB / 1.068 GB, free: 269.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/1.327, allocations: 7.625 kB / 1.068 GB, free: 269.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/1.327, allocations: 15.2 kB / 1.068 GB, free: 269.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.327, allocations: 10.48 kB / 1.068 GB, free: 269.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008841/1.328, allocations: 0.5997 MB / 1.069 GB, free: 268.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003679/1.328, allocations: 318.5 kB / 1.069 GB, free: 268.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/1.328, allocations: 15.53 kB / 1.069 GB, free: 268.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008411/1.329, allocations: 67.72 kB / 1.069 GB, free: 268.6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/1.329, allocations: 28.69 kB / 1.069 GB, free: 268.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/1.329, allocations: 16.47 kB / 1.069 GB, free: 268.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002204/1.331, allocations: 1.532 MB / 1.07 GB, free: 267.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.331, allocations: 1.094 kB / 1.07 GB, free: 267.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002462/1.334, allocations: 0.8155 MB / 1.071 GB, free: 267.8 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/1.335, allocations: 455.8 kB / 1.072 GB, free: 267.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002755/1.338, allocations: 1.446 MB / 1.073 GB, free: 267.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.338, allocations: 5.688 kB / 1.073 GB, free: 267.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003288/1.338, allocations: 133.1 kB / 1.073 GB, free: 267.1 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005285/1.343, allocations: 1.015 MB / 1.074 GB, free: 266.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005191/1.349, allocations: 3.745 MB / 1.078 GB, free: 264.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/1.35, allocations: 1.487 MB / 1.079 GB, free: 263.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003841/1.35, allocations: 131.6 kB / 1.079 GB, free: 263.5 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/1.35, allocations: 0 / 1.079 GB, free: 263.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.04305/1.393, allocations: 32.77 MB / 1.111 GB, free: 236.9 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlowCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlowCalcHelperMain.o] Error 1