Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0008004/0.0008004, allocations: 100.5 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.0009971/0.0009971, allocations: 174.2 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.459/1.459, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.138/1.138, allocations: 143.4 MB / 435.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003887, allocations: 8 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.245, allocations: 83.41 MB / 0.5981 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.7185/0.9635, allocations: 160 MB / 0.7543 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.9739, allocations: 8.093 MB / 0.7622 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009104/0.9749, allocations: 19.81 kB / 0.7622 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007636/0.9756, allocations: 214.4 kB / 0.7624 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008042/0.9765, allocations: 282.7 kB / 0.7627 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.9776, allocations: 300.9 kB / 0.763 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.9794, allocations: 1.367 MB / 0.7643 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006528/0.9801, allocations: 424.4 kB / 0.7647 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004501/0.9846, allocations: 1.486 MB / 0.7662 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005567/0.9852, allocations: 326.5 kB / 0.7665 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.722e-05/0.9852, allocations: 20 kB / 0.7665 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.9855, allocations: 63.91 kB / 0.7666 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.9857, allocations: 235.4 kB / 0.7668 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.9859, allocations: 129.4 kB / 0.7669 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.9864, allocations: 470.8 kB / 0.7674 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.9864, allocations: 0 / 0.7674 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9864, allocations: 0 / 0.7674 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.9864, allocations: 0 / 0.7674 GB, free: 14.82 MB / 0.5919 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.0009893/0.9874, allocations: 0.7249 MB / 0.7681 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.9875, allocations: 8.031 kB / 0.7681 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.9876, allocations: 63.25 kB / 0.7681 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.9881, allocations: 414.3 kB / 0.7685 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/0.9882, allocations: 45.3 kB / 0.7686 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.9882, allocations: 52 kB / 0.7686 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.9892, allocations: 0.7066 MB / 0.7693 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.9893, allocations: 3.938 kB / 0.7693 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.9893, allocations: 24 kB / 0.7693 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.023e-05/0.9894, allocations: 31.98 kB / 0.7694 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/0.99, allocations: 383.3 kB / 0.7697 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/0.9926, allocations: 3.231 MB / 0.7729 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.9929, allocations: 230.1 kB / 0.7731 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.9931, allocations: 129.1 kB / 0.7732 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.9931, allocations: 7.984 kB / 0.7732 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.9932, allocations: 42.5 kB / 0.7733 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.9932, allocations: 0 / 0.7733 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006611/0.9939, allocations: 269.8 kB / 0.7735 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/0.994, allocations: 286.7 kB / 0.7738 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007432/0.9948, allocations: 0.6876 MB / 0.7745 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.9948, allocations: 25.7 kB / 0.7745 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.9951, allocations: 276 kB / 0.7748 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.104e-05/0.9951, allocations: 35.55 kB / 0.7748 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.9952, allocations: 4.031 kB / 0.7748 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.9954, allocations: 370.7 kB / 0.7752 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.9955, allocations: 43.95 kB / 0.7752 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.9956, allocations: 97.11 kB / 0.7753 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.9958, allocations: 51.95 kB / 0.7753 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9958, allocations: 0 / 0.7753 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003113/0.9961, allocations: 196.8 kB / 0.7755 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.9961, allocations: 8 kB / 0.7755 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.9961, allocations: 4.688 kB / 0.7755 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.9962, allocations: 4 kB / 0.7755 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.9964, allocations: 51.95 kB / 0.7756 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.9964, allocations: 1.172 kB / 0.7756 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.9966, allocations: 71.27 kB / 0.7757 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.9966, allocations: 12.55 kB / 0.7757 GB, free: 5.723 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.0002137/0.9969, allocations: 201.7 kB / 0.7759 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.9971, allocations: 63.25 kB / 0.7759 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.071e-05/0.9972, allocations: 60.31 kB / 0.776 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.9972, allocations: 4 kB / 0.776 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.9972, allocations: 4.219 kB / 0.776 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.9972, allocations: 0 / 0.776 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.9986, allocations: 1.305 MB / 0.7773 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.9986, allocations: 0 / 0.7773 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.9988, allocations: 55.89 kB / 0.7773 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.9988, allocations: 4 kB / 0.7773 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.9989, allocations: 4.188 kB / 0.7773 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.9989, allocations: 9 kB / 0.7773 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.9989, allocations: 7.953 kB / 0.7773 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.9993, allocations: 346.5 kB / 0.7777 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.9994, allocations: 152.4 kB / 0.7778 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.9995, allocations: 4 kB / 0.7778 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.9996, allocations: 19.89 kB / 0.7778 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.9997, allocations: 15.94 kB / 0.7779 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.9997, allocations: 5.312 kB / 0.7779 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006282/1, allocations: 0.4951 MB / 0.7783 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1, allocations: 0 / 0.7783 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000359/1.001, allocations: 75.94 kB / 0.7784 GB, free: 2.746 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.0003162/1.001, allocations: 135 kB / 0.7785 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002914/1.001, allocations: 115.8 kB / 0.7787 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.001, allocations: 0 / 0.7787 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/1.002, allocations: 72.83 kB / 0.7787 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/1.003, allocations: 266.2 kB / 0.779 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/1.004, allocations: 1.027 MB / 0.78 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/1.004, allocations: 0.913 MB / 0.7809 GB, free: 152 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/1.005, allocations: 35.44 kB / 0.7809 GB, free: 116 kB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/1.005, allocations: 3.938 kB / 0.7809 GB, free: 112 kB / 0.5919 GB Notification: Performance of Templates: time 0.01198/1.017, allocations: 7.711 MB / 0.7884 GB, free: 8.508 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_hCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_hCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_hCalcHelperMain.o] Error 1