Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008868/0.0008873, allocations: 102.5 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.001299/0.001299, allocations: 178.6 kB / 16.58 MB, free: 6.859 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.495/1.495, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.055/1.055, allocations: 135.3 MB / 427 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 8 kB / 0.5076 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2042, allocations: 82.32 MB / 0.588 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.619/0.8233, allocations: 146.5 MB / 0.731 GB, free: 3.504 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00621/0.8296, allocations: 4.212 MB / 0.7352 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.8299, allocations: 9.438 kB / 0.7352 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.8304, allocations: 90.39 kB / 0.7353 GB, free: 468 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009081/0.8313, allocations: 255.8 kB / 0.7355 GB, free: 328 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000844/0.8321, allocations: 232.8 kB / 0.7357 GB, free: 216 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009489/0.8331, allocations: 0.6722 MB / 0.7364 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003018/0.8334, allocations: 148.9 kB / 0.7365 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009978/0.8344, allocations: 366.3 kB / 0.7369 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.8347, allocations: 186.2 kB / 0.737 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.8347, allocations: 13.16 kB / 0.7371 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.8349, allocations: 63.03 kB / 0.7371 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.595e-05/0.835, allocations: 79.67 kB / 0.7372 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.8351, allocations: 69.64 kB / 0.7373 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.8354, allocations: 206.2 kB / 0.7375 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.8354, allocations: 0 / 0.7375 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.694e-06/0.8354, allocations: 1.516 kB / 0.7375 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.8354, allocations: 4 kB / 0.7375 GB, free: 15.54 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007978/0.8362, allocations: 0.4935 MB / 0.7379 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8363, allocations: 10.81 kB / 0.738 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.079e-05/0.8363, allocations: 25.22 kB / 0.738 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.8368, allocations: 274.3 kB / 0.7382 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.8369, allocations: 21.88 kB / 0.7383 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.8369, allocations: 20.84 kB / 0.7383 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.8374, allocations: 266.5 kB / 0.7385 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.8374, allocations: 0 / 0.7385 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.8375, allocations: 12.08 kB / 0.7385 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.8375, allocations: 3.594 kB / 0.7385 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.8379, allocations: 157.6 kB / 0.7387 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.8393, allocations: 1.378 MB / 0.74 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.8397, allocations: 184.7 kB / 0.7402 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.8398, allocations: 104.8 kB / 0.7403 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/0.8402, allocations: 131.8 kB / 0.7404 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.8403, allocations: 45.2 kB / 0.7405 GB, free: 13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.8403, allocations: 3.938 kB / 0.7405 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006619/0.8409, allocations: 222.2 kB / 0.7407 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.8411, allocations: 185.5 kB / 0.7409 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.8414, allocations: 288.4 kB / 0.7412 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.8414, allocations: 30.77 kB / 0.7412 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.8416, allocations: 144.1 kB / 0.7413 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.8416, allocations: 34.67 kB / 0.7414 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/0.8416, allocations: 5.25 kB / 0.7414 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.8418, allocations: 334.2 kB / 0.7417 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.842, allocations: 54.55 kB / 0.7417 GB, free: 12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.8422, allocations: 119 kB / 0.7418 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.8424, allocations: 67.81 kB / 0.7419 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8424, allocations: 1.406 kB / 0.7419 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004105/0.8428, allocations: 201.6 kB / 0.7421 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.8428, allocations: 4.906 kB / 0.7421 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.8428, allocations: 6.672 kB / 0.7421 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.8429, allocations: 2.469 kB / 0.7421 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.843, allocations: 38.94 kB / 0.7422 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.843, allocations: 6.688 kB / 0.7422 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.8432, allocations: 31.78 kB / 0.7422 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.8432, allocations: 10.88 kB / 0.7422 GB, free: 11.77 MB / 0.5606 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.0001506/0.8434, allocations: 139.4 kB / 0.7423 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.8435, allocations: 25.31 kB / 0.7424 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003581/0.8439, allocations: 145.4 kB / 0.7425 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.8439, allocations: 6.703 kB / 0.7425 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.8439, allocations: 2.75 kB / 0.7425 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.8439, allocations: 1.375 kB / 0.7425 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009639/0.8449, allocations: 0.7748 MB / 0.7433 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.8449, allocations: 1.375 kB / 0.7433 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.8451, allocations: 28.81 kB / 0.7433 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.8451, allocations: 2.75 kB / 0.7433 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.8451, allocations: 6.906 kB / 0.7433 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.8451, allocations: 5.281 kB / 0.7433 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.8451, allocations: 4.688 kB / 0.7433 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005947/0.8457, allocations: 360.1 kB / 0.7437 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.8458, allocations: 112.7 kB / 0.7438 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.8459, allocations: 1.562 kB / 0.7438 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.846, allocations: 18.88 kB / 0.7438 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.8461, allocations: 13.33 kB / 0.7438 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.8461, allocations: 3.969 kB / 0.7438 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002642/0.8464, allocations: 208.3 kB / 0.744 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8464, allocations: 0 / 0.744 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003848/0.8468, allocations: 49.69 kB / 0.744 GB, free: 10.35 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00042/0.8472, allocations: 157.6 kB / 0.7442 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003624/0.8476, allocations: 132.9 kB / 0.7443 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8476, allocations: 0 / 0.7443 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.8478, allocations: 64.22 kB / 0.7444 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007344/0.8485, allocations: 128.6 kB / 0.7445 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009002/0.8494, allocations: 0.5875 MB / 0.7451 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.8498, allocations: 0.7556 MB / 0.7458 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.021e-05/0.8499, allocations: 28.06 kB / 0.7458 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.8499, allocations: 0 / 0.7458 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of Templates: time 0.00654/0.8564, allocations: 3.763 MB / 0.7495 GB, free: 7.215 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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 OMCppIDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpyCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpyCalcHelperMain.o] Error 1