Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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: translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005803/0.005803, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001097/0.001097, allocations: 191.4 kB / 16.79 MB, free: 5.809 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7333/0.7333, allocations: 132.2 MB / 422.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 59.66 kB / 0.5017 GB, free: 9.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1849, allocations: 80.2 MB / 0.58 GB, free: 9.277 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5287/0.7136, allocations: 177.2 MB / 0.753 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.7242, allocations: 7.861 MB / 0.7607 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009445/0.7252, allocations: 15.94 kB / 0.7607 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009695/0.7262, allocations: 190.8 kB / 0.7609 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003875/0.7301, allocations: 1.144 MB / 0.762 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.7324, allocations: 0.6599 MB / 0.7627 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002056/0.7345, allocations: 1.548 MB / 0.7642 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007718/0.7353, allocations: 335.8 kB / 0.7645 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003182/0.7385, allocations: 0.7755 MB / 0.7653 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008912/0.7394, allocations: 446.4 kB / 0.7657 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.7395, allocations: 28 kB / 0.7657 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.7417, allocations: 1.083 MB / 0.7668 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.742, allocations: 155.5 kB / 0.7669 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003885/0.7424, allocations: 238.8 kB / 0.7671 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.7436, allocations: 0.6588 MB / 0.7678 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7437, allocations: 0 / 0.7678 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7437, allocations: 0 / 0.7678 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.7437, allocations: 4 kB / 0.7678 GB, free: 3.152 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001617/0.7453, allocations: 0.8063 MB / 0.7686 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.7454, allocations: 8.031 kB / 0.7686 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.7464, allocations: 151.3 kB / 0.7687 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.7471, allocations: 379.4 kB / 0.7691 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.7471, allocations: 32.94 kB / 0.7691 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/0.7472, allocations: 36 kB / 0.7692 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008023/0.748, allocations: 454.3 kB / 0.7696 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.748, allocations: 4 kB / 0.7696 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.748, allocations: 19.94 kB / 0.7696 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.7481, allocations: 11.94 kB / 0.7696 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.7487, allocations: 323.7 kB / 0.7699 GB, free: 0.8516 MB / 0.5762 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.002388/0.7511, allocations: 2.008 MB / 0.7719 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.7515, allocations: 240.5 kB / 0.7721 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.7518, allocations: 144.8 kB / 0.7723 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005929/0.7524, allocations: 307.2 kB / 0.7726 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.7524, allocations: 42.5 kB / 0.7726 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 2.175e-06/0.7524, allocations: 0 / 0.7726 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001041/0.7535, allocations: 451.3 kB / 0.773 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.7535, allocations: 59.27 kB / 0.7731 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.754, allocations: 394 kB / 0.7735 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.754, allocations: 29.7 kB / 0.7735 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.7542, allocations: 236.2 kB / 0.7737 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.7542, allocations: 86.8 kB / 0.7738 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/0.7543, allocations: 53.7 kB / 0.7738 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.7545, allocations: 354.7 kB / 0.7742 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.7547, allocations: 107.9 kB / 0.7743 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.755, allocations: 194.7 kB / 0.7745 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.7555, allocations: 298.7 kB / 0.7748 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7555, allocations: 4 kB / 0.7748 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006416/0.7562, allocations: 368.2 kB / 0.7751 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.7562, allocations: 5.875 kB / 0.7751 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.7562, allocations: 4 kB / 0.7751 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.7563, allocations: 4 kB / 0.7751 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.7566, allocations: 55.91 kB / 0.7752 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.7566, allocations: 4 kB / 0.7752 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.7569, allocations: 63.62 kB / 0.7752 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.757, allocations: 12 kB / 0.7753 GB, free: 11.05 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * 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 prepare postOptimizeDAE: time 0.0002103/0.7572, allocations: 171.2 kB / 0.7754 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.7572, allocations: 39.53 kB / 0.7755 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007382/0.758, allocations: 365 kB / 0.7758 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.758, allocations: 4 kB / 0.7758 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.758, allocations: 0 / 0.7758 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.758, allocations: 0 / 0.7758 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.7595, allocations: 0.937 MB / 0.7767 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7596, allocations: 0 / 0.7767 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.7598, allocations: 55.91 kB / 0.7768 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.7598, allocations: 7.938 kB / 0.7768 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.7599, allocations: 8 kB / 0.7768 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.7599, allocations: 4 kB / 0.7768 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.7599, allocations: 8.094 kB / 0.7768 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/0.7609, allocations: 0.6256 MB / 0.7774 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.761, allocations: 152.5 kB / 0.7776 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.7611, allocations: 11.98 kB / 0.7776 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.7613, allocations: 16.05 kB / 0.7776 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.7614, allocations: 31.91 kB / 0.7776 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.7615, allocations: 8 kB / 0.7776 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003102/0.7618, allocations: 279.1 kB / 0.7779 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7618, allocations: 0 / 0.7779 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005084/0.7623, allocations: 111.8 kB / 0.778 GB, free: 8.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.0005545/0.7629, allocations: 177.7 kB / 0.7782 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006509/0.7635, allocations: 286.7 kB / 0.7784 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7635, allocations: 0 / 0.7784 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.7638, allocations: 154.5 kB / 0.7786 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.765, allocations: 209.1 kB / 0.7788 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.7666, allocations: 0.997 MB / 0.7798 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/0.7671, allocations: 0.8275 MB / 0.7806 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.7672, allocations: 39.42 kB / 0.7806 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.7672, allocations: 0 / 0.7806 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of Templates: time 0.01035/0.7776, allocations: 6.795 MB / 0.7872 GB, free: 14.65 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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/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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRateCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRateCalcHelperMain.o] Error 1