Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.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.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01116/0.01116, 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.002035/0.002036, allocations: 189.8 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 2.108/2.108, allocations: 222.9 MB / 240.4 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003235/0.003235, allocations: 270.6 kB / 290.9 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.641/1.641, allocations: 169.2 MB / 0.4983 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003029/0.00303, allocations: 96.47 kB / 0.5951 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3677, allocations: 86.99 MB / 0.6801 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.8852/1.253, allocations: 164.9 MB / 0.8411 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04073/1.294, allocations: 17.29 MB / 0.858 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003929/1.298, allocations: 27.97 kB / 0.858 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003399/1.301, allocations: 455.5 kB / 0.8584 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/1.312, allocations: 1.504 MB / 0.8599 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00699/1.319, allocations: 1.264 MB / 0.8611 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006759/1.325, allocations: 2.914 MB / 0.864 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004709/1.33, allocations: 1.865 MB / 0.8658 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008847/1.339, allocations: 1.252 MB / 0.867 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003157/1.342, allocations: 1.066 MB / 0.8681 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000833/1.343, allocations: 122.5 kB / 0.8682 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00623/1.349, allocations: 1.581 MB / 0.8697 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001612/1.351, allocations: 0.6929 MB / 0.8704 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002527/1.353, allocations: 1.085 MB / 0.8715 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006503/1.36, allocations: 2.626 MB / 0.874 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/1.36, allocations: 2.406 kB / 0.874 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.454e-06/1.36, allocations: 4 kB / 0.874 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001469/1.36, allocations: 0 / 0.874 GB, free: 12.67 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.009778/1.37, allocations: 2.75 MB / 0.8767 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 8.224e-05/1.37, allocations: 10.84 kB / 0.8767 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005622/1.376, allocations: 0.5611 MB / 0.8773 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004421/1.38, allocations: 1.602 MB / 0.8789 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/1.38, allocations: 129.2 kB / 0.879 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003732/1.381, allocations: 173.2 kB / 0.8791 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005713/1.387, allocations: 1.958 MB / 0.8811 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.471e-05/1.387, allocations: 0 / 0.8811 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000269/1.387, allocations: 76.84 kB / 0.8811 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/1.387, allocations: 43.03 kB / 0.8812 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005432/1.392, allocations: 2.116 MB / 0.8832 GB, free: 6.984 MB / 0.5919 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.01503/1.407, allocations: 5.858 MB / 0.889 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005081/1.413, allocations: 2.125 MB / 0.891 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/1.415, allocations: 0.7691 MB / 0.8918 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008084/1.415, allocations: 433.6 kB / 0.8922 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002617/1.418, allocations: 1.012 MB / 0.8932 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 4.148e-06/1.418, allocations: 4 kB / 0.8932 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.01004/1.428, allocations: 2.985 MB / 0.8961 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/1.428, allocations: 201.2 kB / 0.8963 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/1.432, allocations: 1.826 MB / 0.8981 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004456/1.433, allocations: 61.69 kB / 0.8981 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.434, allocations: 0.8431 MB / 0.899 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007102/1.434, allocations: 481 kB / 0.8994 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006359/1.435, allocations: 258.7 kB / 0.8997 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.435, allocations: 361.9 kB / 0.9 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/1.437, allocations: 0.6038 MB / 0.9006 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/1.439, allocations: 0.8169 MB / 0.9014 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00365/1.443, allocations: 1.357 MB / 0.9027 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.974e-06/1.443, allocations: 4 kB / 0.9027 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006292/1.449, allocations: 1.838 MB / 0.9045 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/1.449, allocations: 11.88 kB / 0.9045 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/1.449, allocations: 0 / 0.9045 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/1.451, allocations: 208.2 kB / 0.9047 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002456/1.453, allocations: 343.4 kB / 0.9051 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007982/1.461, allocations: 6.807 MB / 0.9117 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/1.464, allocations: 181.3 kB / 0.9119 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004102/1.465, allocations: 55.97 kB / 0.9119 GB, free: 9.059 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001892/1.466, allocations: 495.8 kB / 0.9124 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009608/1.467, allocations: 181.8 kB / 0.9126 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007019/1.474, allocations: 2.145 MB / 0.9147 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/1.474, allocations: 16 kB / 0.9147 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.475, allocations: 4 kB / 0.9147 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/1.475, allocations: 7.969 kB / 0.9147 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/1.486, allocations: 4.036 MB / 0.9186 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/1.486, allocations: 0 / 0.9186 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/1.488, allocations: 323.5 kB / 0.9189 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/1.489, allocations: 208.1 kB / 0.9191 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/1.489, allocations: 47.89 kB / 0.9192 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007669/1.497, allocations: 6.839 MB / 0.9259 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.497, allocations: 3.938 kB / 0.9259 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007168/1.504, allocations: 2.006 MB / 0.9278 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00183/1.506, allocations: 474.3 kB / 0.9283 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007935/1.507, allocations: 27.98 kB / 0.9283 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002553/1.509, allocations: 140.8 kB / 0.9284 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003948/1.51, allocations: 109.1 kB / 0.9286 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003114/1.51, allocations: 79.94 kB / 0.9286 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003348/1.514, allocations: 1.306 MB / 0.9299 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/1.514, allocations: 0 / 0.9299 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003533/1.517, allocations: 0.6665 MB / 0.9306 GB, free: 5.125 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002604/1.52, allocations: 0.7377 MB / 0.9313 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005198/1.525, allocations: 2.105 MB / 0.9333 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/1.525, allocations: 4.547 kB / 0.9333 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003198/1.528, allocations: 1.426 MB / 0.9347 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003974/1.532, allocations: 0.4959 MB / 0.9352 GB, free: 424 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.544, allocations: 4.742 MB / 0.9398 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/1.546, allocations: 1.498 MB / 0.9413 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/1.547, allocations: 195.3 kB / 0.9415 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of SimCode: time 4.218e-06/1.547, allocations: 0 / 0.9415 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of Templates: time 0.1155/1.663, allocations: 67.23 MB / 1.007 GB, free: 6.754 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_AnglesCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_AnglesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_AnglesCalcHelperMain.o] Error 1