Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.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.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009251/0.0009251, allocations: 99.03 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.00116/0.00116, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.381/1.381, allocations: 223.2 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001698, allocations: 274.6 kB / 292.3 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.959/0.959, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004727, allocations: 17.98 kB / 0.5993 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1935, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005294/0.1988, allocations: 4.272 MB / 0.69 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003379/0.2022, allocations: 2.177 MB / 0.6921 GB, free: 8.598 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.2024, allocations: 7.938 kB / 0.6921 GB, free: 8.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.2027, allocations: 65.47 kB / 0.6922 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005877/0.2033, allocations: 255.5 kB / 0.6924 GB, free: 8.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007595/0.204, allocations: 314.6 kB / 0.6927 GB, free: 7.973 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007613/0.2048, allocations: 0.807 MB / 0.6935 GB, free: 7.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.206, allocations: 0.6507 MB / 0.6941 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.2062, allocations: 183.2 kB / 0.6943 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004162/0.2066, allocations: 271 kB / 0.6946 GB, free: 6.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.2067, allocations: 16 kB / 0.6946 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.2072, allocations: 295.4 kB / 0.6948 GB, free: 5.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.2074, allocations: 151.6 kB / 0.695 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.2076, allocations: 216.6 kB / 0.6952 GB, free: 5.391 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.2081, allocations: 494.8 kB / 0.6957 GB, free: 4.906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2081, allocations: 0 / 0.6957 GB, free: 4.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2081, allocations: 0 / 0.6957 GB, free: 4.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.2081, allocations: 0 / 0.6957 GB, free: 4.906 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.000996/0.2091, allocations: 0.6395 MB / 0.6963 GB, free: 4.219 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2091, allocations: 12.03 kB / 0.6963 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009323/0.2101, allocations: 136.3 kB / 0.6964 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.2105, allocations: 333 kB / 0.6968 GB, free: 3.707 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.2106, allocations: 29.38 kB / 0.6968 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.2106, allocations: 36.38 kB / 0.6968 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008998/0.2115, allocations: 0.6302 MB / 0.6974 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2116, allocations: 0 / 0.6974 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.2116, allocations: 20 kB / 0.6975 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.388e-05/0.2117, allocations: 36.62 kB / 0.6975 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007037/0.2124, allocations: 490.1 kB / 0.698 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/0.2158, allocations: 3.42 MB / 0.7013 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.2165, allocations: 373 kB / 0.7017 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.2167, allocations: 173.6 kB / 0.7018 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.2168, allocations: 8 kB / 0.7018 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.2168, allocations: 38.97 kB / 0.7019 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.512e-06/0.2168, allocations: 0 / 0.7019 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.004552/0.2214, allocations: 1.469 MB / 0.7033 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.2214, allocations: 81.11 kB / 0.7034 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.2218, allocations: 328.4 kB / 0.7037 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.2219, allocations: 29.7 kB / 0.7037 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.222, allocations: 259.4 kB / 0.704 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.902e-05/0.2221, allocations: 98.58 kB / 0.7041 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.2222, allocations: 41.7 kB / 0.7041 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2224, allocations: 338.8 kB / 0.7044 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.2226, allocations: 185 kB / 0.7046 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.223, allocations: 334.1 kB / 0.7049 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006598/0.2237, allocations: 0.5314 MB / 0.7054 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2237, allocations: 4 kB / 0.7054 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002249/0.2259, allocations: 0.9133 MB / 0.7063 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.2261, allocations: 252.8 kB / 0.7066 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2262, allocations: 7.938 kB / 0.7066 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/0.2284, allocations: 0.5088 MB / 0.7071 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.2288, allocations: 95.81 kB / 0.7072 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005452/0.2343, allocations: 3.777 MB / 0.7109 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003903/0.2347, allocations: 47.8 kB / 0.7109 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.2347, allocations: 16 kB / 0.7109 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.2347, allocations: 4 kB / 0.7109 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007444/0.2355, allocations: 479.4 kB / 0.7114 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2355, allocations: 8 kB / 0.7114 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.2355, allocations: 8 kB / 0.7114 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.2359, allocations: 111.8 kB / 0.7115 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.2359, allocations: 8 kB / 0.7115 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.2362, allocations: 28.39 kB / 0.7115 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/0.2362, allocations: 27.98 kB / 0.7116 GB, free: 3.562 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003043/0.2366, allocations: 277.5 kB / 0.7118 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.304e-05/0.2367, allocations: 31.62 kB / 0.7119 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.2384, allocations: 0.6748 MB / 0.7125 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.2384, allocations: 4 kB / 0.7125 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.2384, allocations: 0 / 0.7125 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.2384, allocations: 3.984 kB / 0.7125 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009641/0.2394, allocations: 0.6558 MB / 0.7132 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.2394, allocations: 0 / 0.7132 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.2396, allocations: 47.91 kB / 0.7132 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/0.2411, allocations: 409.3 kB / 0.7136 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.2411, allocations: 4 kB / 0.7136 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003911/0.245, allocations: 3.478 MB / 0.717 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.245, allocations: 0 / 0.717 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.2467, allocations: 0.8232 MB / 0.7178 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.2469, allocations: 144.6 kB / 0.7179 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.2469, allocations: 11.98 kB / 0.718 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.2473, allocations: 39.89 kB / 0.718 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.2474, allocations: 27.91 kB / 0.718 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.2474, allocations: 11.98 kB / 0.718 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002583/0.2477, allocations: 227.1 kB / 0.7182 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2477, allocations: 0 / 0.7182 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009874/0.2487, allocations: 192 kB / 0.7184 GB, free: 12.12 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002289/0.2489, allocations: 115.9 kB / 0.7185 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.2508, allocations: 0.9588 MB / 0.7195 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.2508, allocations: 8 kB / 0.7195 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007703/0.2516, allocations: 486.7 kB / 0.7199 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000636/0.2522, allocations: 76.91 kB / 0.72 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.2537, allocations: 0.9732 MB / 0.721 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.2542, allocations: 0.847 MB / 0.7218 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.2543, allocations: 31.42 kB / 0.7218 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.2543, allocations: 0 / 0.7218 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.01241/0.2667, allocations: 8.264 MB / 0.7299 GB, free: 272 kB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.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.ProbeCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.ProbeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.ProbeCalcHelperMain.o] Error 1