Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009618/0.0009618, allocations: 98.88 kB / 16.02 MB, free: 76 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.001326/0.001326, allocations: 183.3 kB / 16.92 MB, free: 6.773 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.001859, allocations: 267 kB / 292.3 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9496/0.9496, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004737, allocations: 17.53 kB / 0.5993 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2097, allocations: 88.55 MB / 0.6858 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003511/0.2133, allocations: 2.3 MB / 0.688 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.2158, allocations: 1.465 MB / 0.6895 GB, free: 11.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.216, allocations: 4.625 kB / 0.6895 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.2162, allocations: 23.78 kB / 0.6895 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005223/0.2167, allocations: 176.6 kB / 0.6897 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.2171, allocations: 142.2 kB / 0.6898 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.2175, allocations: 347.1 kB / 0.6901 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006778/0.2182, allocations: 338.3 kB / 0.6904 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.2183, allocations: 75.77 kB / 0.6905 GB, free: 10.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.2186, allocations: 107.6 kB / 0.6906 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.2187, allocations: 8 kB / 0.6906 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.2191, allocations: 275.4 kB / 0.6909 GB, free: 9.805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.447e-05/0.2192, allocations: 59.81 kB / 0.6909 GB, free: 9.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.969e-05/0.2193, allocations: 101.3 kB / 0.691 GB, free: 9.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.2196, allocations: 247.4 kB / 0.6913 GB, free: 9.398 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.197e-05/0.2196, allocations: 6.438 kB / 0.6913 GB, free: 9.395 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2196, allocations: 0 / 0.6913 GB, free: 9.395 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.2196, allocations: 0 / 0.6913 GB, free: 9.395 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007202/0.2204, allocations: 455.3 kB / 0.6917 GB, free: 8.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2204, allocations: 12.78 kB / 0.6917 GB, free: 8.887 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005824/0.221, allocations: 80.56 kB / 0.6918 GB, free: 8.809 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.2213, allocations: 236.6 kB / 0.692 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.2213, allocations: 12.7 kB / 0.692 GB, free: 8.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.2214, allocations: 12.38 kB / 0.6921 GB, free: 8.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.2219, allocations: 327.8 kB / 0.6924 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.2219, allocations: 4 kB / 0.6924 GB, free: 8.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.2219, allocations: 8.766 kB / 0.6924 GB, free: 8.156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.551e-05/0.222, allocations: 25.98 kB / 0.6924 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.2224, allocations: 256.5 kB / 0.6927 GB, free: 7.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.2241, allocations: 1.635 MB / 0.6942 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/0.2248, allocations: 403.2 kB / 0.6946 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.2249, allocations: 89.86 kB / 0.6947 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.2251, allocations: 93.03 kB / 0.6948 GB, free: 5.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.2251, allocations: 34.5 kB / 0.6948 GB, free: 5.406 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.2251, allocations: 0 / 0.6948 GB, free: 5.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006695/0.2258, allocations: 312.6 kB / 0.6951 GB, free: 5.094 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.2259, allocations: 81.3 kB / 0.6952 GB, free: 4.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.226, allocations: 172.9 kB / 0.6954 GB, free: 4.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.2261, allocations: 29.7 kB / 0.6954 GB, free: 4.785 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2262, allocations: 147.8 kB / 0.6956 GB, free: 4.637 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.2262, allocations: 51.33 kB / 0.6956 GB, free: 4.586 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.2263, allocations: 25.72 kB / 0.6956 GB, free: 4.555 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2264, allocations: 318.8 kB / 0.6959 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.2266, allocations: 75.95 kB / 0.696 GB, free: 4.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.2268, allocations: 159.3 kB / 0.6962 GB, free: 3.973 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.2271, allocations: 249.2 kB / 0.6964 GB, free: 3.695 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2271, allocations: 0 / 0.6964 GB, free: 3.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003953/0.2275, allocations: 277.2 kB / 0.6967 GB, free: 3.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.2276, allocations: 165.8 kB / 0.6968 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2276, allocations: 0 / 0.6968 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2276, allocations: 4 kB / 0.6968 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.2279, allocations: 55.91 kB / 0.6969 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.2279, allocations: 7.984 kB / 0.6969 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.228, allocations: 19.92 kB / 0.6969 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.2281, allocations: 8 kB / 0.6969 GB, free: 3.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/0.2281, allocations: 4 kB / 0.6969 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003027/0.2284, allocations: 210.9 kB / 0.6971 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.2284, allocations: 8.312 kB / 0.6971 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.151e-06/0.2284, allocations: 4 kB / 0.6971 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.2286, allocations: 47.91 kB / 0.6972 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.2286, allocations: 11.92 kB / 0.6972 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.2287, allocations: 19.84 kB / 0.6972 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.2287, allocations: 11.98 kB / 0.6972 GB, free: 2.816 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * 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.0001732/0.2289, allocations: 228.9 kB / 0.6974 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.229, allocations: 7.906 kB / 0.6974 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.2294, allocations: 207.7 kB / 0.6976 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2294, allocations: 0 / 0.6976 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.2294, allocations: 7.938 kB / 0.6976 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2294, allocations: 4.031 kB / 0.6976 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.2306, allocations: 0.9615 MB / 0.6986 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2306, allocations: 8.094 kB / 0.6986 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.2308, allocations: 31.97 kB / 0.6986 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.2308, allocations: 4 kB / 0.6986 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.2308, allocations: 16 kB / 0.6986 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2308, allocations: 7.938 kB / 0.6986 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2308, allocations: 7.938 kB / 0.6987 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.2312, allocations: 436.8 kB / 0.6991 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.748e-05/0.2313, allocations: 112.8 kB / 0.6992 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.2314, allocations: 8 kB / 0.6992 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2315, allocations: 11.98 kB / 0.6992 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.2316, allocations: 27.86 kB / 0.6992 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.2316, allocations: 8 kB / 0.6992 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.2317, allocations: 133 kB / 0.6994 GB, free: 420 kB / 494.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2317, allocations: 0 / 0.6994 GB, free: 420 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004974/0.2322, allocations: 72 kB / 0.6994 GB, free: 348 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * 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.0001546/0.2324, allocations: 107.2 kB / 0.6995 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004638/0.2329, allocations: 299.7 kB / 0.6998 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2329, allocations: 0 / 0.6998 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.233, allocations: 81.39 kB / 0.6999 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.2335, allocations: 42.55 kB / 0.6999 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008874/0.2344, allocations: 0.5929 MB / 0.7005 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.2348, allocations: 0.7518 MB / 0.7012 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.2349, allocations: 15.44 kB / 0.7013 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.2349, allocations: 0 / 0.7013 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of Templates: time 0.00436/0.2392, allocations: 2.332 MB / 0.7035 GB, free: 12.04 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensorCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensorCalcHelperMain.o] Error 1