Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.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.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009159/0.000916, allocations: 100.4 kB / 15.71 MB, free: 452 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.001661/0.001661, allocations: 175.1 kB / 16.58 MB, free: 6.422 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.489/1.489, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7871/0.7871, allocations: 132.3 MB / 424 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 8.812 kB / 0.504 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/0.5437, allocations: 81.57 MB / 0.5837 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.2181/0.7619, allocations: 159.9 MB / 0.7399 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.7725, allocations: 8.08 MB / 0.7477 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008293/0.7734, allocations: 23.81 kB / 0.7478 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009481/0.7744, allocations: 214.4 kB / 0.748 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.7755, allocations: 278.7 kB / 0.7482 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.7766, allocations: 308.6 kB / 0.7485 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001803/0.7784, allocations: 1.363 MB / 0.7499 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008696/0.7793, allocations: 440.2 kB / 0.7503 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004266/0.7836, allocations: 1.482 MB / 0.7517 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006099/0.7842, allocations: 330.5 kB / 0.752 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.928e-05/0.7843, allocations: 20 kB / 0.7521 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.7846, allocations: 55.95 kB / 0.7521 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.7849, allocations: 235.4 kB / 0.7523 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.7851, allocations: 125.4 kB / 0.7525 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.7857, allocations: 462.9 kB / 0.7529 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7857, allocations: 4 kB / 0.7529 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7857, allocations: 0 / 0.7529 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.626e-05/0.7858, allocations: 0 / 0.7529 GB, free: 2.84 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001099/0.7869, allocations: 0.7133 MB / 0.7536 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.7869, allocations: 12.03 kB / 0.7536 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.7871, allocations: 71.19 kB / 0.7537 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005976/0.7877, allocations: 402.4 kB / 0.7541 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.7877, allocations: 45.31 kB / 0.7541 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/0.7878, allocations: 47.98 kB / 0.7542 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.7889, allocations: 0.7143 MB / 0.7549 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.7889, allocations: 0 / 0.7549 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.789, allocations: 23.98 kB / 0.7549 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-05/0.7891, allocations: 35.88 kB / 0.7549 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006751/0.7897, allocations: 379.4 kB / 0.7553 GB, free: 252 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.7927, allocations: 3.227 MB / 0.7584 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.793, allocations: 222.2 kB / 0.7586 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.7932, allocations: 128.6 kB / 0.7588 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.7932, allocations: 11.88 kB / 0.7588 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.7932, allocations: 50.48 kB / 0.7588 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.7933, allocations: 0 / 0.7588 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0007355/0.794, allocations: 265.4 kB / 0.7591 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.7941, allocations: 295.1 kB / 0.7594 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007931/0.7949, allocations: 0.6799 MB / 0.76 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.795, allocations: 29.7 kB / 0.76 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.7952, allocations: 264.2 kB / 0.7603 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.7953, allocations: 31.55 kB / 0.7603 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.7953, allocations: 8 kB / 0.7603 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7954, allocations: 366.7 kB / 0.7607 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.7956, allocations: 47.97 kB / 0.7607 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.7957, allocations: 101 kB / 0.7608 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.7959, allocations: 55.91 kB / 0.7609 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7959, allocations: 4 kB / 0.7609 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003542/0.7962, allocations: 200.7 kB / 0.7611 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.7963, allocations: 5.875 kB / 0.7611 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7963, allocations: 4 kB / 0.7611 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.7963, allocations: 0 / 0.7611 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.7965, allocations: 56.14 kB / 0.7611 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.7966, allocations: 7.984 kB / 0.7611 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.7968, allocations: 59.36 kB / 0.7612 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.7968, allocations: 4 kB / 0.7612 GB, free: 9.766 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.0002238/0.7971, allocations: 213.7 kB / 0.7614 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.7973, allocations: 63.25 kB / 0.7615 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.034e-05/0.7974, allocations: 56.33 kB / 0.7615 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.7974, allocations: 7.984 kB / 0.7615 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.7974, allocations: 0 / 0.7615 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7974, allocations: 4.062 kB / 0.7615 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.7988, allocations: 1.304 MB / 0.7628 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.7988, allocations: 0 / 0.7628 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.799, allocations: 60.17 kB / 0.7629 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.799, allocations: 4 kB / 0.7629 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.7991, allocations: 7.953 kB / 0.7629 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.7991, allocations: 4 kB / 0.7629 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.7991, allocations: 7.938 kB / 0.7629 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.7995, allocations: 342.4 kB / 0.7632 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.7997, allocations: 148.3 kB / 0.7634 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.7997, allocations: 7.984 kB / 0.7634 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.7999, allocations: 27.94 kB / 0.7634 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.8, allocations: 7.984 kB / 0.7634 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.8, allocations: 4.281 kB / 0.7634 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005562/0.8005, allocations: 0.495 MB / 0.7639 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8005, allocations: 0 / 0.7639 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003854/0.8009, allocations: 87.88 kB / 0.764 GB, free: 6.766 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (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.0003038/0.8012, allocations: 131.2 kB / 0.7641 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.8016, allocations: 115.8 kB / 0.7642 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8016, allocations: 0 / 0.7642 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.8017, allocations: 64.78 kB / 0.7643 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.803, allocations: 277.8 kB / 0.7645 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.8042, allocations: 1.027 MB / 0.7655 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.8047, allocations: 0.8935 MB / 0.7664 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.8048, allocations: 35.44 kB / 0.7664 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.8048, allocations: 4 kB / 0.7664 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of Templates: time 0.01073/0.8155, allocations: 7.728 MB / 0.774 GB, free: 12.5 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.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_IDEAS.Fluid.Sources.Examples.PropertySource_hCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_hCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_hCalcHelperMain.o] Error 1